mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
fix tests
This commit is contained in:
parent
45d1ec8ba9
commit
9a5f50f95c
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ TEST_CASE("Greeter") {
|
||||||
Greeter greeter("World");
|
Greeter greeter("World");
|
||||||
|
|
||||||
CHECK(greeter.greet(LanguageCode::EN) == "Hello, World!");
|
CHECK(greeter.greet(LanguageCode::EN) == "Hello, World!");
|
||||||
CHECK(greeter.greet(LanguageCode::DE) == "Hello, World!");
|
CHECK(greeter.greet(LanguageCode::DE) == "Hallo World!");
|
||||||
CHECK(greeter.greet(LanguageCode::ES) == "Hello, World!");
|
CHECK(greeter.greet(LanguageCode::ES) == "¡Hola World!");
|
||||||
CHECK(greeter.greet(LanguageCode::FR) == "Hello, World!");
|
CHECK(greeter.greet(LanguageCode::FR) == "Bonjour World!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue