Commit 8efdbf57 authored by jan.koester's avatar jan.koester
Browse files

test

parent e471adad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -120,9 +120,9 @@ int main(){
        check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", &unrelatedAncestors),
              "leading compound absent from the supplied ancestor chain -- no longer matches (the actual bug)");

        check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "",
        check(CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "",
              static_cast<const std::vector<AncestorFrame>*>(nullptr)),
              "sanity: explicit nullptr behaves the same as the default");
              "sanity: explicit nullptr behaves the same as the default (still matches, unverified)");

        std::vector<AncestorFrame> outOfOrderAncestors = {
            {"div", {"b"}, ""},