diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java b/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java index 4d0b556291..cdfd62a73c 100644 --- a/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java +++ b/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java @@ -190,10 +190,10 @@ public class SkylarkDocumentationTest extends SkylarkTestCase { assertThat(objects).hasSize(1); assertThat(objects).containsKey("MockClassD"); SkylarkModuleDoc moduleDoc = objects.get("MockClassD"); - assertThat(moduleDoc.getDocumentation()).isEqualTo("MockClassD."); + assertThat(moduleDoc.getDocumentation()).isEqualTo("MockClassD"); assertThat(moduleDoc.getMethods()).hasSize(1); SkylarkMethodDoc methodDoc = moduleDoc.getMethods().iterator().next(); - assertThat(methodDoc.getDocumentation()).isEqualTo("MockClassD#test."); + assertThat(methodDoc.getDocumentation()).isEqualTo("MockClassD#test"); assertThat(methodDoc.getSignature()).isEqualTo("int MockClassD.test(arg0:int, b, *, c, d=1)"); assertThat(methodDoc.getParams()).hasSize(3); } @@ -204,10 +204,10 @@ public class SkylarkDocumentationTest extends SkylarkTestCase { assertThat(objects).hasSize(1); assertThat(objects).containsKey("MockClassE"); SkylarkModuleDoc moduleDoc = objects.get("MockClassE"); - assertThat(moduleDoc.getDocumentation()).isEqualTo("MockClassE."); + assertThat(moduleDoc.getDocumentation()).isEqualTo("MockClassE"); assertThat(moduleDoc.getMethods()).hasSize(1); SkylarkMethodDoc methodDoc = moduleDoc.getMethods().iterator().next(); - assertThat(methodDoc.getDocumentation()).isEqualTo("MockClassA#get."); + assertThat(methodDoc.getDocumentation()).isEqualTo("MockClassA#get"); assertThat(methodDoc.getSignature()).isEqualTo("int MockClassE.get()"); } |