Skip to content

Commit

Permalink
Merge pull request #10 from gdziadkiewicz/Pending_fix
Browse files Browse the repository at this point in the history
Pending fix
  • Loading branch information
gdziadkiewicz committed Jan 3, 2016
2 parents 85cf7b9 + cfda1c9 commit 58c89fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TestRunner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ function _get_tests_structure(expressionTreeNode::Expr, testsResults::Vector{Fac
node = FactNode(line, getName(treeNode), isempty(testsResults)?test_not_run:pop!(testsResults))
push!(result, node)
elseif length(treeNode.args)>0 && treeNode.args[1] == Symbol("@pending")
node = FactNode(line, getName(treeNode), test_pending)
isempty(testsResults) || pop!(testsResults)
node = FactNode(line, getName(treeNode), test_pending, "$(treeNode.args[2].args[1]) $(treeNode.args[2].head) $(treeNode.args[2].args[2])" )
push!(result, node)
else
append!(result, _get_tests_structure(treeNode, testsResults, line))
Expand Down

0 comments on commit 58c89fd

Please sign in to comment.