Index: client/dom/scripts/idlrenderer_test.py |
diff --git a/client/dom/scripts/idlrenderer_test.py b/client/dom/scripts/idlrenderer_test.py |
index cbf509a725c6aaca262394684632466dd3488bc9..ba788afc63792dd5863214f974d20bfbf6d1e9fe 100755 |
--- a/client/dom/scripts/idlrenderer_test.py |
+++ b/client/dom/scripts/idlrenderer_test.py |
@@ -43,13 +43,17 @@ ACTUAL : |
@A @B() @C(x) @D(x=1) @E(x,y=2) |
void something(); |
}; |
+}; |
+@X module M2 { |
+ @Y interface I {}; |
};''' |
expected_text = \ |
'''module M { |
- [Constructor(in long x)] interface I : |
- @A J, |
- K { |
+ [Constructor(in long x)] |
+ interface I : |
+ @A J, |
+ K { |
/* Constants */ |
const boolean CONST = 1; |
@@ -65,6 +69,11 @@ ACTUAL : |
@A @B @C(x) @D(x=1) @E(x, y=2) void something(); |
}; |
}; |
+@X module M2 { |
+ @Y |
+ interface I { |
+ }; |
+}; |
''' |
self._run_test(input_text, expected_text) |