summaryrefslogtreecommitdiff
path: root/test/ffi/parser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/ffi/parser.lua')
-rw-r--r--test/ffi/parser.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/ffi/parser.lua b/test/ffi/parser.lua
index 0a54ed1f..cf55e1e0 100644
--- a/test/ffi/parser.lua
+++ b/test/ffi/parser.lua
@@ -50,10 +50,9 @@ TEST {
TEST {
name = 'enum@anonymous',
type = {
- name = 'a',
type = 'enum',
values = {
- { name = 'a', value = { 1 } },
+ { name = 'a', value = { '1' } },
{ name = 'b', value = { 'a' } },
}
}
@@ -70,7 +69,7 @@ TEST {
name = 'a',
type = 'enum',
values = {
- { name = 'b', value = { op = '|', { 1 }, { 2 } } },
+ { name = 'b', value = { op = '|', { '1' }, { '2' } } },
}
}
} [[
@@ -117,7 +116,7 @@ TEST {
]]
TEST({
- { name = "struct@nil", type = { type = 'struct' } },
+ { name = "struct@anonymous", type = { type = 'struct' } },
{
name = 'a',
type = {