Skip to content

Commit 05dc65c

Browse files
authored
Use lower-case characters to start error messages
1 parent 8d0b23b commit 05dc65c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/goto-diff/unified_diff.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,25 @@ unified_difft::goto_program_difft unified_difft::get_diff(
7373
dest.push_back(std::make_pair(new_it, differencet::SAME));
7474
INVARIANT(
7575
old_it != old_goto_program.instructions.end(),
76-
"Old iterator reached the final goto instruction");
76+
"old iterator reached the final goto instruction");
7777
++old_it;
7878
INVARIANT(
7979
new_it != new_goto_program.instructions.end(),
80-
"New iterator reached the final goto instruction");
80+
"new iterator reached the final goto instruction");
8181
++new_it;
8282
break;
8383
case differencet::DELETED:
8484
dest.push_back(std::make_pair(old_it, differencet::DELETED));
8585
INVARIANT(
8686
old_it != old_goto_program.instructions.end(),
87-
"Old iterator reached the final goto instruction");
87+
"old iterator reached the final goto instruction");
8888
++old_it;
8989
break;
9090
case differencet::NEW:
9191
dest.push_back(std::make_pair(new_it, differencet::NEW));
9292
INVARIANT(
9393
new_it != new_goto_program.instructions.end(),
94-
"New iterator reached the final goto instruction");
94+
"new iterator reached the final goto instruction");
9595
++new_it;
9696
break;
9797
}
@@ -345,7 +345,7 @@ bool unified_difft::operator()()
345345
else
346346
{
347347
INVARIANT(
348-
ito->first == itn->first, "Old and new function names do not match");
348+
ito->first == itn->first, "old and new function names do not match");
349349
unified_diff(
350350
itn->first, ito->second->second.body, itn->second->second.body);
351351
++ito;

0 commit comments

Comments
 (0)