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

    Huh. Works now? No idea, I'm certain that I was getting that error.

  • 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

    I'm talking about the "attempt" test, it returned a "Expected #DoWeHaveAHashtag to equal #DoWeHaveAHashtag". The submit tests work fine far as I could tell.

  • Custom User Avatar

    But you passed all the tests. What was wrong?

  • Custom User Avatar

    No, it's not broken.

  • Custom User Avatar

    The #DoWeHaveAHashtag test in JS is broken and doesn't seem to recognize the # sign even though all other tests work.