You need to sign in or sign up before continuing.×
Ad
  • Custom User Avatar

    It's possible that you modified sample tests by accident, hence the error. Sample tests are local for you and editable (is that a word?). However, you can't modify "attempt" tests, so maybe that's why it passed.

  • Custom User Avatar

    The test is exactly the same in both places unless you edited the sample test, backup your code, click reset, paste it and try again.

    assert.strictEqual(generateHashtag("Do We have A Hashtag"), "#DoWeHaveAHashtag", "Expected a Hashtag (#) at the beginning.")
    assert.strictEqual(generateHashtag("Do We have A Hashtag"), "#DoWeHaveAHashtag", "Expected a Hashtag (#) at the beginning.")
    
  • Custom User Avatar

    But you passed all the tests. What was wrong?

  • Custom User Avatar

    No, it's not broken.