Skip to content

Commit ab69050

Browse files
committed
fix: fix tests
1 parent ea44d7d commit ab69050

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/src/test/kotlin/cc/unitmesh/idea/context/JavaClassContextTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ public class BlogService {
9494

9595
assertEquals(
9696
classContext.format(),
97-
"""class BlogController {
97+
"""'filePath: /foo.bar
98+
class BlogController {
9899
blogService
99100
+ public BlogController(BlogService blogService)
100101
+ @PostMapping("/blog") public BlogPost createBlog(CreateBlogDto blogDto)
@@ -121,4 +122,4 @@ public class BlogService {
121122
|BlogController.java -> blogService.createBlog""".trimMargin()
122123
)
123124
}
124-
}
125+
}

0 commit comments

Comments
 (0)