Skip to content

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

Open
@kastoestoramadus

Description

@kastoestoramadus
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions