mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
ASSERT_EQ instead of EXPECT_EQ in tests
because that's what we actually want, to crash right now, no point in continuing
This commit is contained in:
@@ -9,15 +9,15 @@
|
||||
|
||||
TEST(CLITest, Backup) {
|
||||
int ret = system("../../../tests/clitests/scripts/backup.sh");
|
||||
EXPECT_EQ(WEXITSTATUS(ret), 0);
|
||||
ASSERT_EQ(WEXITSTATUS(ret), 0);
|
||||
}
|
||||
|
||||
TEST(CLITest, Ignore) {
|
||||
int ret = system("../../../tests/clitests/scripts/ignore.sh");
|
||||
EXPECT_EQ(WEXITSTATUS(ret), 0);
|
||||
ASSERT_EQ(WEXITSTATUS(ret), 0);
|
||||
}
|
||||
|
||||
TEST(CLITest, Diff) {
|
||||
int ret = system("../../../tests/clitests/scripts/diff.sh");
|
||||
EXPECT_EQ(WEXITSTATUS(ret), 0);
|
||||
ASSERT_EQ(WEXITSTATUS(ret), 0);
|
||||
}
|
||||
Reference in New Issue
Block a user