incompatibilities/spec/render/attribute_spec.md in faml-0.2.15 vs incompatibilities/spec/render/attribute_spec.md in faml-0.2.16

- old
+ new

@@ -1,75 +1,5 @@ -# [./spec/render/attribute_spec.rb:23](../../../spec/render/attribute_spec.rb#L23) -## Input -```haml -%span{"foo": 'bar'} -``` - -## Faml, Haml -```html -<span foo='bar'></span> - -``` - -## Hamlit (Error) -```html -Hamlit::SyntaxError -``` - -# [./spec/render/attribute_spec.rb:23](../../../spec/render/attribute_spec.rb#L23) -## Input -```haml -- x = 'bar' -%span{"foo": x} -``` - -## Faml, Haml -```html -<span foo='bar'></span> - -``` - -## Hamlit (Error) -```html -Hamlit::SyntaxError -``` - -# [./spec/render/attribute_spec.rb:23](../../../spec/render/attribute_spec.rb#L23) -## Input -```haml -%span{'foo': 'bar'} -``` - -## Faml, Haml -```html -<span foo='bar'></span> - -``` - -## Hamlit (Error) -```html -Hamlit::SyntaxError -``` - -# [./spec/render/attribute_spec.rb:23](../../../spec/render/attribute_spec.rb#L23) -## Input -```haml -- x = 'bar' -%span{'foo': x} -``` - -## Faml, Haml -```html -<span foo='bar'></span> - -``` - -## Hamlit (Error) -```html -Hamlit::SyntaxError -``` - # [./spec/render/attribute_spec.rb:52](../../../spec/render/attribute_spec.rb#L52) ## Input ```haml - h1 = {class: 'c1', id: ['id1', 'id3']} - h2 = {class: [{}, 'c2'], id: 'id2'} @@ -469,10 +399,10 @@ %span(foo=1 3.14=3) hello ``` ## Faml (Error) ```html -Invalid attribute list (missing attributename) +Invalid attribute list (missing attribute name) ``` ## Haml (Error) ```html Invalid attribute list: "(foo=1 3.14=3)".