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

Inconsistencies in Hello World - Tutorial.md #550

Open
foundingnimo opened this issue Nov 17, 2022 · 0 comments
Open

Inconsistencies in Hello World - Tutorial.md #550

foundingnimo opened this issue Nov 17, 2022 · 0 comments

Comments

@foundingnimo
Copy link

Tutorial.md in Hello world has diverged from the code.

  1. It says the test fails with org.junit.ComparisonFailure: expected:<[Hello, World!]> but was:<[]> but actual failure is
    org.junit.ComparisonFailure: expected:<[Hello, World]!> but was:<[Goodbye, Mars]!>

  2. It says the :compileKotlin task should emit a warning:
    w: /Users/jtigger/exercism/exercises/kotlin/hello-world/src/main/kotlin/HelloWorld.kt: (1, 11): Parameter 'name' is never used

But that parameter isn't actually in the fun declaration

  1. It says that hello() returns "" - but it actually returns Goodbye, Mars!
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

1 participant