Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <iostream>

int main() {
std::cout << "Hello world" << std::endl;
std::cout << "Hello demo" << std::endl;
return 0;
}
2 changes: 1 addition & 1 deletion tests/test_integration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/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"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ std::string run_app() {
}

TEST_CASE("Program prints correct output") {
REQUIRE(run_app() == "Hello world\n");
REQUIRE(run_app() == "Hello demo\n");
}