Fixes test

This commit is contained in:
Eugene Yokota 2017-09-17 22:31:57 -04:00
parent 9d40404915
commit c5bfc67750
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ object SettingQueryTest extends org.specs2.mutable.Specification {
def query(setting: String): String = { def query(setting: String): String = {
import sbt.protocol._ import sbt.protocol._
val req: SettingQuery = protocol.SettingQuery(setting) val req: SettingQuery = sbt.protocol.SettingQuery(setting)
val rsp: SettingQueryResponse = server.SettingQuery.handleSettingQuery(req, structure) val rsp: SettingQueryResponse = server.SettingQuery.handleSettingQuery(req, structure)
val bytes: Array[Byte] = Serialization serializeEventMessage rsp val bytes: Array[Byte] = Serialization serializeEventMessage rsp
val payload: String = new String(bytes, java.nio.charset.StandardCharsets.UTF_8) val payload: String = new String(bytes, java.nio.charset.StandardCharsets.UTF_8)