Change Hash syntax to be consistent with other tests
This commit is contained in:
parent
d0f48e0e3c
commit
3c930433c4
|
@ -11,7 +11,7 @@ describe Oga::XML::Lexer do
|
||||||
end
|
end
|
||||||
|
|
||||||
example 'lex a upper case void element' do
|
example 'lex a upper case void element' do
|
||||||
lex('<BR>', html: true).should == [
|
lex('<BR>', :html => true).should == [
|
||||||
[:T_ELEM_START, nil, 1],
|
[:T_ELEM_START, nil, 1],
|
||||||
[:T_ELEM_NAME, "BR", 1],
|
[:T_ELEM_NAME, "BR", 1],
|
||||||
[:T_ELEM_END, nil, 1]
|
[:T_ELEM_END, nil, 1]
|
||||||
|
|
Loading…
Reference in New Issue