diff options
Diffstat (limited to 'src/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py')
-rw-r--r-- | src/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py b/src/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py deleted file mode 100644 index 6249d36fb8f..00000000000 --- a/src/components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py +++ /dev/null @@ -1,15 +0,0 @@ -import WebIDL - -def WebIDLTest(parser, harness): - parser.parse(""" - interface Foo; - interface Bar; - interface Foo; - """); - - results = parser.finish() - - # There should be no duplicate interfaces in the result. - expectedNames = sorted(['Foo', 'Bar']) - actualNames = sorted(map(lambda iface: iface.identifier.name, results)) - harness.check(actualNames, expectedNames, "Parser shouldn't output duplicate names.") |