Skip to content

Commit

Permalink
Fixes #5864: Fix compliance test to use floating values
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Nov 28, 2014
1 parent 4e26b94 commit 3579e80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 3579e80

Please sign in to comment.