diff options
Diffstat (limited to 'tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore')
-rw-r--r-- | tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore b/tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore index 2c2ba80f1..1ea421a81 100644 --- a/tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore +++ b/tests/org.eclipse.emf.test.ecore.xcore/src/org/eclipse/emf/test/ecore/xcore/validation/EClass-AtMostOneID.xcore @@ -1,19 +1,19 @@ -package foo
-
-/* XPECT validationIssues ---
-error at 'class C extends A, B { }' message 'The features 'id1' and 'id2' cannot both be IDs'
---- */
-
-class A
-{
- id String id1
-}
-
-class B
-{
- id String id2
-}
-
-class C extends A, B
-{
+package foo + +/* XPECT validationIssues --- +error at 'class C extends A, B { }' message 'The features 'id1' and 'id2' cannot both be IDs' +--- */ + +class A +{ + id String id1 +} + +class B +{ + id String id2 +} + +class C extends A, B +{ }
\ No newline at end of file |