forked from BigfootDev/flatbuffers
Simplify templates
This commit is contained in:
@@ -106,14 +106,6 @@ void ErrorTest() {
|
||||
"struct-typed fields");
|
||||
TestError(
|
||||
"struct X (native_type_template: \"Foo\") { Y:int; } "
|
||||
"table T { y:X (native_type_template_arg:\"int\"); }",
|
||||
"does not reference");
|
||||
TestError(
|
||||
"struct X (native_type_template: \"Foo<{{T0}}, {{T1}}>\") { Y:int; } "
|
||||
"table T { y:X (native_type_template_arg:\"int\"); }",
|
||||
"beyond the");
|
||||
TestError(
|
||||
"struct X (native_type_template: \"Foo<{{T}}>\") { Y:int; } "
|
||||
"table T { y:X (native_type_template_arg:\"\"); }",
|
||||
"empty template argument");
|
||||
TestError("{}", "no root");
|
||||
|
||||
Reference in New Issue
Block a user