Skip to content

Commit

Permalink
fixup! test(api): add http test with a previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Dec 18, 2023
1 parent ed35a0d commit 754a187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/kotlin/com/compiler/server/ResourceE2ECompileTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ResourceE2ECompileTest : BaseResourceCompileTest {
if (outFile.exists()) {
val text = outFile.readText()
if (text != json) {
if (!file.isFlexidSource()) {
if (!file.isInconsistentSource()) {
return@checkResourceExamples """
Expected: $text
Actual: $json
Expand All @@ -72,7 +72,7 @@ class ResourceE2ECompileTest : BaseResourceCompileTest {
}
}

private fun File.isFlexidSource(): Boolean {
private fun File.isInconsistentSource(): Boolean {
val code = this.readText()

return listOf(
Expand Down

0 comments on commit 754a187

Please sign in to comment.