Skip to content
This repository
tree: cd61cb9c3b
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (10 sloc) 0.24 kb
1 2 3 4 5 6 7 8 9 10 11
require "helper"

class VoidNodeTest < Johnson::NodeTestCase
  def test_delete_sexp
    assert_sexp(
      [[:void, [:name, 'foo']]],
      @parser.parse('void foo;')
    )
    assert_ecma('void foo;', @parser.parse('void foo;'))
  end
end
Something went wrong with that request. Please try again.