Skip to content

Commit

Permalink
Update testvalueflow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 11, 2024
1 parent d3e45c5 commit 2d006bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testvalueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6304,7 +6304,7 @@ class TestValueFlow : public TestFixture {
" std::array<int,10> ints;\n" // Array size is 10
" ints.front();\n"
"}";
ASSERT_EQUALS("", isKnownContainerSizeValue(tokenValues(code, "ints . front"), 10));
ASSERT_EQUALS("values.size():2", isKnownContainerSizeValue(tokenValues(code, "ints . front"), 10)); // uninit value

code = "void f() {\n"
" std::string s;\n"
Expand Down

0 comments on commit 2d006bc

Please sign in to comment.