Skip to content

Commit

Permalink
fix(rust): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 19, 2024
1 parent f6e068b commit c6761e8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -39,11 +39,11 @@ class RustMethodContextBuilderTest : BasePlatformTestCase() {
val result = RustMethodContextBuilder().getMethodContext(firstMethod, false, false)!!
assertEquals("new", result.name)
assertEquals(
result.format(), """
result.format().trimEnd(), """
path: /src/test.rs
language: Rust
fun name: new
fun signature: fn <b>new</b>(id: String, embedding: Embedding, embedded: Document) -&gt; Self
fun signature: fn <b>new</b>(id: String, embedding: Embedding, embedded: Document) -&gt; Self
""".trimIndent()
)
}
Expand Down

0 comments on commit c6761e8

Please sign in to comment.