aboutsummaryrefslogtreecommitdiff
path: root/src/amberscript/parser_test.cc
diff options
context:
space:
mode:
authorBen Clayton <bclayton@google.com>2020-01-29 14:15:08 +0000
committerdan sinclair <dj2@everburning.com>2020-01-29 11:52:47 -0500
commit77fd278d0d42581714ea35a727cd7629667a616c (patch)
treedcc3bacda12fe02b6fb38f174606268c00f263d7 /src/amberscript/parser_test.cc
parentf5851bd4a0907659de6ea4b608b427423336d070 (diff)
downloadamber-77fd278d0d42581714ea35a727cd7629667a616c.tar.gz
tokenizer: Rename 'String' to 'Identifier'
These represent unquoted symbols - typically referred to as identifiers. This has been renamed as quoted strings will be added to the tokenizer in another change.
Diffstat (limited to 'src/amberscript/parser_test.cc')
-rw-r--r--src/amberscript/parser_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amberscript/parser_test.cc b/src/amberscript/parser_test.cc
index 37b61af..c7390a4 100644
--- a/src/amberscript/parser_test.cc
+++ b/src/amberscript/parser_test.cc
@@ -40,7 +40,7 @@ TEST_F(AmberScriptParserTest, InvalidStartToken) {
Parser parser;
Result r = parser.Parse(in);
ASSERT_FALSE(r.IsSuccess());
- EXPECT_EQ("3: expected string", r.Error());
+ EXPECT_EQ("3: expected identifier", r.Error());
}
TEST_F(AmberScriptParserTest, UnknownStartToken) {