I think I found a bug. But asking here first to no...
# javascript
a
I think I found a bug. But asking here first to not report it twice
println(message: Any?)
is not working as expected in testing Take the bellow code for example
Copy code
println("Start")
println("End")
Expected printed output should be
Copy code
Start
End
Actual printed output
Copy code
StartEnd
However, the code below
Copy code
println("Start\n")
println("End\n")
Prints
Copy code
Start
End
Instead of
Copy code
Start

End
Tested on OS: Linux Browser: ChromeBrowser and ChromeHeadless, Kotlin: 1.5.0, 1.5.10, 1.5.20, 1.5.21, 1.5.30-RC Target: JS/IR
👍 2
👍🏻 1
blob joy 2
plus1 3
c
Funnier thing: if you switch the test engine (Karma/Mocha...) it's not always there