Skip to content

Barebones of int selfie #124

Barebones of int selfie

Barebones of int selfie #124

GitHub Actions / JUnit 11 ubuntu-latest failed Oct 9, 2023 in 0s

77 tests run, 70 passed, 4 skipped, 3 failed.

Annotations

Check failure on line 55 in selfie-runner-junit5/src/test/kotlin/com/diffplug/selfie/junit5/DuplicateWriteTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit 11 ubuntu-latest

DuplicateWriteTest.can_read_one_thing_multiple_times_from_one_snapshot()

java.lang.AssertionError: Expected null but actual was org.gradle.internal.impldep.junit.framework.AssertionFailedError: `.toBe_TODO()` was called in `read` mode, try again with selfie in write mode
Raw output
java.lang.AssertionError: Expected null but actual was org.gradle.internal.impldep.junit.framework.AssertionFailedError: `.toBe_TODO()` was called in `read` mode, try again with selfie in write mode
	at com.diffplug.selfie.junit5.DuplicateWriteTest.can_read_one_thing_multiple_times_from_one_snapshot(DuplicateWriteTest.kt:55)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Check failure on line 38 in selfie-runner-junit5/src/test/kotlin/com/diffplug/selfie/junit5/InlineIntTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit 11 ubuntu-latest

InlineIntTest.toBe_write()

io.kotest.assertions.AssertionFailedError: expected:<"    expectSelfie(1234).toBe(1234)"> but was:<<empty string>>
Raw output
io.kotest.assertions.AssertionFailedError: expected:<"    expectSelfie(1234).toBe(1234)"> but was:<<empty string>>
	at app//com.diffplug.selfie.junit5.InlineIntTest.toBe_write(InlineIntTest.kt:38)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)

Check failure on line 52 in selfie-runner-junit5/src/test/kotlin/com/diffplug/selfie/junit5/ReadWriteTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit 11 ubuntu-latest

ReadWriteTest.assertApplePasses()

java.lang.AssertionError: Expected read snapshots to succeed, but it failed
Raw output
java.lang.AssertionError: Expected read snapshots to succeed, but it failed
	at com.diffplug.selfie.junit5.Harness.gradleReadSS(Harness.kt:274)
	at com.diffplug.selfie.junit5.ReadWriteTest.assertApplePasses(ReadWriteTest.kt:52)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: org.gradle.internal.impldep.junit.framework.AssertionFailedError: `.toBe_TODO()` was called in `read` mode, try again with selfie in write mode
	at app//com.diffplug.selfie.IntSelfie.toBeDidntMatch((Selfie.kt:85)
	at app//com.diffplug.selfie.IntSelfie.toBe_TODO((Selfie.kt:73)
	at app//undertest.junit5.UT_InlineIntTest.singleInt((UT_InlineIntTest.kt:10)