Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
026fe07c
Commit
026fe07c
authored
Jan 20, 2016
by
Michael Mifsud
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1348 from xzyfer/fix/error-spec-detection
Fix detection of error specs
parents
08118676
5a551e64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
index.js
test/util/index.js
+1
-1
No files found.
test/util/index.js
View file @
026fe07c
...
@@ -39,7 +39,7 @@ module.exports.getSuites = function() {
...
@@ -39,7 +39,7 @@ module.exports.getSuites = function() {
tests
.
forEach
(
function
(
test
)
{
tests
.
forEach
(
function
(
test
)
{
var
testPath
=
join
(
suitePath
,
test
);
var
testPath
=
join
(
suitePath
,
test
);
var
hasErrorFile
=
fs
.
existsSync
(
join
(
testPath
,
'error'
));
var
hasErrorFile
=
fs
.
existsSync
(
join
(
testPath
,
'error'
))
&&
!
fs
.
statSync
(
join
(
testPath
,
'error'
)).
isDirectory
()
;
var
hasError
=
false
;
var
hasError
=
false
;
if
(
hasErrorFile
)
{
if
(
hasErrorFile
)
{
var
errorFileContents
=
fs
.
readFileSync
(
join
(
testPath
,
'error'
)).
toString
();
var
errorFileContents
=
fs
.
readFileSync
(
join
(
testPath
,
'error'
)).
toString
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment