Skip to content

Commit c6761e8

Browse files
committed
fix(rust): fix tests
1 parent f6e068b commit c6761e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/233/test/kotlin/cc/unitmesh/rust/context/RustMethodContextBuilderTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class RustMethodContextBuilderTest : BasePlatformTestCase() {
3939
val result = RustMethodContextBuilder().getMethodContext(firstMethod, false, false)!!
4040
assertEquals("new", result.name)
4141
assertEquals(
42-
result.format(), """
42+
result.format().trimEnd(), """
4343
path: /src/test.rs
4444
language: Rust
4545
fun name: new
46-
fun signature: fn <b>new</b>(id: String, embedding: Embedding, embedded: Document) -&gt; Self
46+
fun signature: fn <b>new</b>(id: String, embedding: Embedding, embedded: Document) -&gt; Self
4747
""".trimIndent()
4848
)
4949
}

0 commit comments

Comments
 (0)