Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode is evaluated instead of being printed as it is in the code #115

Open
kastoestoramadus opened this issue Sep 24, 2018 · 2 comments
Open

Comments

@kastoestoramadus
Copy link
Contributor

kastoestoramadus commented Sep 24, 2018

def characterLiteralsUnicodeLiteralStrings(res0: String) {
    val c = '\u0061' //unicode for a

    c.toString should be(res0)
  }

prints to
val c = 'a' //unicode for a
Source code: https://github.com/scala-exercises/exercises-stdlib/blob/master/src/main/scala/stdlib/LiteralStrings.scala
Page: https://www.scala-exercises.org/std_lib/literal_strings

@FRosner
Copy link
Member

FRosner commented Sep 24, 2018

Thanks for reporting this. Do you have a proposal how to fix it or would you like to remove this part?

@kastoestoramadus
Copy link
Contributor Author

looks like a framework bug. The Oct code is parsed properly.
Temporary walkaround would be a better comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants