Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassHighlight has a mutable 'type' attribute that is a HighlightType enum.
Asserts run
Pass
assert_equals("highlight", "highlight", "Highlight uses \"highlight\" as default type.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-type-attribute.tentative.html:9:5)
Pass
assert_equals("highlight", "highlight", "Highlight type doesn't change after assigning an invalid value.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-type-attribute.tentative.html:12:5)
Pass
assert_equals("spelling-error", "spelling-error", "Highlight type changes to the assigned value if it's part of the HighlightType enum (\"spelling-error\"\").")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-type-attribute.tentative.html:15:5)
Pass
assert_equals("grammar-error", "grammar-error", "Highlight type changes to the assigned value if it's part of the HighlightType enum (\"grammar-error\").")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-type-attribute.tentative.html:18:5)