Skip to content

Commit a80d258

Browse files
committed
partially fixed ReadOnlyWriteOnlyTest.test
1 parent 12d0e0c commit a80d258

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

typescript-generator-core/src/test/java/cz/habarta/typescript/generator/ReadOnlyWriteOnlyTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@ public void test() {
7575
final String output = new TypeScriptGenerator(settings).generateTypeScript(Input.from(ReadOnlyWriteOnlyUser.class));
7676
final String expected = "\n"
7777
+ "interface ReadOnlyWriteOnlyUser {\n"
78-
+ " name: string;\n"
7978
+ " /**\n"
8079
+ " * @readonly\n"
8180
+ " */\n"
8281
+ " id1: string;\n"
8382
+ " /**\n"
84-
+ " * @writeonly\n"
85-
+ " */\n"
86-
+ " password1: string;\n"
87-
+ " /**\n"
8883
+ " * @readonly\n"
8984
+ " */\n"
9085
+ " id2: string;\n"
86+
+ " name: string;\n"
87+
+ " /**\n"
88+
+ " * @writeonly\n"
89+
+ " */\n"
90+
+ " password1: string;\n"
9191
+ " /**\n"
9292
+ " * @writeonly\n"
9393
+ " */\n"

0 commit comments

Comments
 (0)