From 3a00c8bc1d45a3f482a00b8f4a118b3345813f67 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 19 Apr 2017 17:02:15 -0700 Subject: [PATCH] Fixed test. --- .../thauvin/erik/kobalt/plugin/versioneye/UtilsTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/kotlin/net/thauvin/erik/kobalt/plugin/versioneye/UtilsTest.kt b/src/test/kotlin/net/thauvin/erik/kobalt/plugin/versioneye/UtilsTest.kt index ba68ca7..b057977 100644 --- a/src/test/kotlin/net/thauvin/erik/kobalt/plugin/versioneye/UtilsTest.kt +++ b/src/test/kotlin/net/thauvin/erik/kobalt/plugin/versioneye/UtilsTest.kt @@ -31,9 +31,9 @@ */ package net.thauvin.erik.kobalt.plugin.versioneye -import com.beust.kobalt.* -import org.testng.* -import org.testng.annotations.* +import com.beust.kobalt.AsciiArt +import org.testng.Assert +import org.testng.annotations.Test @Test class UtilsTest { @@ -78,7 +78,7 @@ class UtilsTest { "redLight(count:1, fail:false, colors:true)") Assert.assertEquals(Utils.redLight(0, false, true), AsciiArt.GREEN + 0 + AsciiArt.RESET, "redLight(count:0, fail:false, colors:true)") - Assert.assertEquals(Utils.redLight(1, false, false), text, + Assert.assertEquals(Utils.redLight(1, false, false), "1", "redLight(count:1, fail:false, colors:false)") } } \ No newline at end of file