-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
Update tests
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# For more information about the properties used in | ||
# this file, please see the EditorConfig documentation: | ||
# http://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Automatically normalize line endings for all text-based files | ||
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion | ||
* text=auto | ||
|
||
# For the following file types, normalize line endings to LF on | ||
# checkin and prevent conversion to CRLF when they are checked out | ||
# (this is required in order to prevent newline related issues like, | ||
# for example, after the build script is run) | ||
.* text eol=lf | ||
*.css text eol=lf | ||
*.html text eol=lf | ||
*.js text eol=lf | ||
*.json text eol=lf | ||
*.md text eol=lf | ||
*.sh text eol=lf | ||
*.txt text eol=lf | ||
*.xml text eol=lf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "0.12" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
|
||
mocha=node_modules/.bin/mocha --reporter spec | ||
|
||
node_modules: package.json | ||
@npm install | ||
|
||
test: node_modules | ||
@./node_modules/.bin/mocha --reporter spec | ||
@$(mocha) | ||
|
||
test-debug: node_modules | ||
@$(mocha) debug | ||
|
||
.PHONY: test | ||
.PHONY: test | ||
.PHONY: test-debug |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
<html> | ||
<body> | ||
|
||
body | ||
</body> | ||
</html> | ||
|
||
value |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
<html> | ||
<body> | ||
|
||
body | ||
</body> | ||
</html> | ||
|
||
value |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
template: layout.html | ||
variable: value | ||
--- | ||
|
||
body | ||
{{variable}} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<html> | ||
<head> | ||
<title>Local Title</title> | ||
</head> | ||
<body> | ||
|
||
one | ||
</body> | ||
</html> | ||
Local Title | ||
|
||
one |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<html> | ||
<head> | ||
<title>Global Title</title> | ||
</head> | ||
<body> | ||
|
||
two | ||
</body> | ||
</html> | ||
Global Title | ||
|
||
two |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<html> | ||
<head> | ||
<title>Local Title</title> | ||
</head> | ||
<body> | ||
|
||
one | ||
</body> | ||
</html> | ||
Local Title | ||
|
||
one |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
<html> | ||
<head> | ||
<title>Global Title</title> | ||
</head> | ||
<body> | ||
|
||
two | ||
</body> | ||
</html> | ||
Global Title | ||
|
||
two |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Local Title | ||
template: layout.html | ||
--- | ||
{{title}} | ||
|
||
one |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
--- | ||
template: layout.html | ||
--- | ||
{{title}} | ||
|
||
two |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{{title}} | ||
|
||
Not matched body |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{{title}} | ||
|
||
Not matched body |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Not matched | ||
template: layout.html | ||
--- | ||
{{title}} | ||
|
||
Not matched body |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Matched | ||
template: layout.html | ||
--- | ||
{{title}} | ||
|
||
Matched body |
This file was deleted.