Sha256: a1162bc67abc22a28580e2945d733ac9413a4a84671b29050dd8553c52903a56

Contents?: true

Size: 1.52 KB

Versions: 10

Compression:

Stored size: 1.52 KB

Contents

--HAML--
%p(foo="bar"){"bar"=>"baz"}[a]
%p{"bar"=>"baz"}(foo="bar")[a]
%p[a](foo="bar"){"bar"=>"baz"}
%p[a](foo="bar"){"bar"=>"baz"}[a]
%p[a](foo="bar"){"bar"=>"baz"}(foo="bar")
%p[a](foo="bar"){"bar"=>"baz"}{"bar"=>"baz"}
--EXPECT--
root(
  tag(p
    attr(text(foo)interpolated(text(bar)))
    attr(interpolated(text(bar))interpolated(text(baz)))
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
  )
  tag(p
    attr(interpolated(text(bar))interpolated(text(baz)))
    attr(text(foo)interpolated(text(bar)))
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
  )
  tag(p
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
    attr(text(foo)interpolated(text(bar)))
    attr(interpolated(text(bar))interpolated(text(baz)))
  )
  tag(p interpolated(text([a]))
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
    attr(text(foo)interpolated(text(bar)))
    attr(interpolated(text(bar))interpolated(text(baz)))
  )
  tag(p interpolated(text((foo="bar")))
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
    attr(text(foo)interpolated(text(bar)))
    attr(interpolated(text(bar))interpolated(text(baz)))
  )
  tag(p interpolated(text({"bar"=>"baz"}))
    attr(text(class)object_ref_class(insert(a)))
    attr(text(id)object_ref_id(insert(a)))
    attr(text(foo)interpolated(text(bar)))
    attr(interpolated(text(bar))interpolated(text(baz)))
  )
)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.3.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.3.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.5 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.4 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.3 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.2 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.2.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test
guard-mthaml-0.1.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/parser/multiple_attr_kinds.test