Skip to content

Commit

Permalink
Merge pull request #672 from VinceMacBuche/bug_5864/test_fix
Browse files Browse the repository at this point in the history
Fixes #5864: Fix compliance test to use floating values
  • Loading branch information
fanf committed Nov 28, 2014
2 parents 4e26b94 + 3579e80 commit ebe0ca3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ class StatusReportTest extends Specification {
"correctly add them by directive" in {
val a = aggregate(d1c1v1_s ++ d1c2v21_s ++ d2c2v21_e)

(a.compliance.pc_success === 66) and
(a.compliance.pc_success === 66.67.toFloat) and
(a.directives("d1").compliance.pc_success === 100) and
(a.directives("d2").compliance.pc_error === 100)
}
Expand Down

0 comments on commit ebe0ca3

Please sign in to comment.