[Dart] Getting tests/DartTest.sh to work on master. (#5915)

* Fixed refractoring issue in reflection/generate_code.sh. Also, mv deletes the original file, so I don't need to clean it up manually in that case.

* Fixed Dart Tests by removing code-gen for included files.
This commit is contained in:
Derek Bailey
2020-05-15 18:13:29 -07:00
committed by GitHub
parent 424a473e1f
commit 0fa087657e
4 changed files with 4 additions and 9 deletions

View File

@@ -72,10 +72,6 @@ class DartGenerator : public BaseGenerator {
code += "import 'package:flat_buffers/flat_buffers.dart' as " + _kFb +
";\n\n";
if (parser_.opts.include_dependence_headers) {
GenIncludeDependencies(&code, kv->first);
}
for (auto kv2 = namespace_code.begin(); kv2 != namespace_code.end();
++kv2) {
if (kv2->first != kv->first) {