We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a016359 commit 41650b1Copy full SHA for 41650b1
3 files changed
src/main.cpp
@@ -1,6 +1,6 @@
1
#include <iostream>
2
3
int main() {
4
- std::cout << "Hello world" << std::endl;
+ std::cout << "Hello demo" << std::endl;
5
return 0;
6
}
tests/test_integration.sh
#!/usr/bin/env bash
output=$(./cpp-cli)
-if [[ "$output" == "Hello world" ]]; then
+if [[ "$output" == "Hello demo" ]]; then
echo "[PASS] Output correct."
else
echo "[FAIL] Output = $output"
tests/test_unit.cpp
@@ -20,5 +20,5 @@ std::string run_app() {
20
21
22
TEST_CASE("Program prints correct output") {
23
- REQUIRE(run_app() == "Hello world\n");
+ REQUIRE(run_app() == "Hello demo\n");
24
0 commit comments