Skip to content

Commit

Permalink
fix(test): use relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Apr 19, 2024
1 parent 32d5e61 commit ab35208
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# JVM Runner

[![Test Suite](https://github.com/rdf-connect/jvm-runner/actions/workflows/test.yml/badge.svg)](https://github.com/rdf-connect/jvm-runner/actions/workflows/test.yml) [![ktlint](https://img.shields.io/badge/ktlint%20code--style-%E2%9D%A4-FF4081)](https://pinterest.github.io/ktlint/)

A proof-of-concept implementation of a Kotlin-based JVM runner.
3 changes: 2 additions & 1 deletion src/test/kotlin/TestGreeting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class TestGreeting {

@Test
fun testGreeting() {
val config = Configuration("/Users/jens/Developer/technology.idlab.jvm-runner/src/test/resources/Greeting.ttl")
val path = TestGreeting::class.java.getResource("/Greeting.ttl")?.path
val config = Configuration(path.toString())
config.executeSync()
assertTrue(outputStreamCaptor.toString().contains("Hello, JVM Runner!"))
}
Expand Down

0 comments on commit ab35208

Please sign in to comment.