mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 10:12:27 +00:00
Add new tests to validate relative import path fix
This commit is contained in:
20
tests/ts/relative_imports/relative_imports.fbs
Normal file
20
tests/ts/relative_imports/relative_imports.fbs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Transit.One;
|
||||
|
||||
table Info {
|
||||
timestamp:ulong;
|
||||
}
|
||||
|
||||
namespace Transit.Two;
|
||||
|
||||
table Identity {
|
||||
id:uint;
|
||||
}
|
||||
|
||||
namespace Transit.Three;
|
||||
|
||||
table Header {
|
||||
info:Transit.One.Info;
|
||||
id:Transit.Two.Identity;
|
||||
}
|
||||
|
||||
root_type Header;
|
||||
Reference in New Issue
Block a user