Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/node-sass/src/libsass/test/test_specificity.cpp')
-rw-r--r--node_modules/node-sass/src/libsass/test/test_specificity.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/node_modules/node-sass/src/libsass/test/test_specificity.cpp b/node_modules/node-sass/src/libsass/test/test_specificity.cpp
deleted file mode 100644
index ba9bbfc..0000000
--- a/node_modules/node-sass/src/libsass/test/test_specificity.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "../ast.hpp"
-#include "../context.hpp"
-#include "../parser.hpp"
-#include <string>
-#include <iostream>
-
-using namespace Sass;
-
-Context ctx = Context::Data();
-
-Selector* selector(std::string src)
-{ return Parser::from_c_str(src.c_str(), ctx, "", Position()).parse_selector_list(); }
-
-void spec(std::string sel)
-{ std::cout << sel << "\t::\t" << selector(sel + ";")->specificity() << std::endl; }
-
-int main()
-{
- spec("foo bar hux");
- spec(".foo .bar hux");
- spec("#foo .bar[hux='mux']");
- spec("a b c d e f");
-
- return 0;
-}