Commit 4bc17d01 authored by Josh Soref's avatar Josh Soref
Browse files

spelling: substring

parent 831a2d23
......@@ -1218,7 +1218,7 @@ TEST_F(EvalContextTest, scanErrors) {
checkError("0x123h", "<string>:1.6: Invalid character: h");
checkError(":1", "<string>:1.1: Invalid character: :");
checkError("=", "<string>:1.1: Invalid character: =");
checkError("subtring", "<string>:1.1: Invalid character: s");
checkError("substring", "<string>:1.1: Invalid character: s");
checkError("foo", "<string>:1.1: Invalid character: f");
checkError(" bar", "<string>:1.2: Invalid character: b");
checkError("relay[12].hex == 'foo'", "<string>:1.1: Invalid character: r");
......@@ -1637,7 +1637,7 @@ TEST_F(TokenTest, optionEqualTrue) {
TEST_F(TokenTest, substringNotEnoughValues) {
ASSERT_NO_THROW(t_.reset(new TokenSubstring()));
// Subsring requires three values on the stack, try
// Substring requires three values on the stack, try
// with 0, 1 and 2 all should throw an exception
EXPECT_THROW(t_->evaluate(*pkt4_, values_), EvalBadStack);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment