dom/bindings/parser/tests/test_argument_identifier_conflicts.py

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 def WebIDLTest(parser, harness):
     2     threw = False
     3     try:
     4         parser.parse("""
     5             interface ArgumentIdentifierConflict {
     6               void foo(boolean arg1, boolean arg1);
     7             };
     8         """)
    10         results = parser.finish()
    11     except:
    12         threw = True
    14     harness.ok(threw, "Should have thrown.")

mercurial