Browse Source

get rid of SPOD dependency for #5757 test

Dan Korostelev 8 years ago
parent
commit
94ebc098b5
1 changed files with 3 additions and 11 deletions
  1. 3 11
      tests/unit/src/unit/issues/Issue5757.hx

+ 3 - 11
tests/unit/src/unit/issues/Issue5757.hx

@@ -1,19 +1,11 @@
 package unit.issues;
 
-#if sys
-import sys.db.Types;
-import sys.db.Object;
-
-class SpodRtti extends Object {
-	public var id : SId;
-}
-#end
+@rtti("hello")
+private class SpodRtti {}
 
 class Issue5757 extends unit.Test {
-#if sys
 	function test() {
 		var rtti = haxe.rtti.Meta.getType( SpodRtti ).rtti;
 		t(rtti != null);
 	}
-#end
-}
+}