# File test/lexertest.rb, line 33
  def test_nextchar_back
    str = "some_string"
    lex = JSON::Lexer.new(str)
    c = lex.nextchar
    assert(c == 's', "wrong character read")
    lex.back
    c = lex.nextchar
    assert(c == 's', "backing up produces inconsistent results")
  end