Skip to content

Commit 41650b1

Browse files
committed
feat: awesome feature
1 parent a016359 commit 41650b1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <iostream>
22

33
int main() {
4-
std::cout << "Hello world" << std::endl;
4+
std::cout << "Hello demo" << std::endl;
55
return 0;
66
}

tests/test_integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
output=$(./cpp-cli)
3-
if [[ "$output" == "Hello world" ]]; then
3+
if [[ "$output" == "Hello demo" ]]; then
44
echo "[PASS] Output correct."
55
else
66
echo "[FAIL] Output = $output"

tests/test_unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ std::string run_app() {
2020
}
2121

2222
TEST_CASE("Program prints correct output") {
23-
REQUIRE(run_app() == "Hello world\n");
23+
REQUIRE(run_app() == "Hello demo\n");
2424
}

0 commit comments

Comments
 (0)