mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
improved tests
This commit is contained in:
parent
412bb42949
commit
c12fc9e91d
@ -41,7 +41,10 @@ class ScalaMetaDataSerializerTest {
|
||||
val serializer = new ScalaMetaDataSerializer("Q", namingStrategy);
|
||||
serializer.serialize(entityType, SimpleSerializerConfig.DEFAULT, new ScalaWriter(writer));
|
||||
val str = writer.toString();
|
||||
assertTrue("companion object isn't before class", str.indexOf("object") < str.indexOf("class"));
|
||||
assertTrue("companion object isn't before annotations", str.indexOf("object") < str.indexOf("@Table"));
|
||||
System.err.println(str);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user