mirror of
https://github.com/hamburghammer/grcon.git
synced 2024-05-12 22:24:37 +02:00
Augusto Dwenger J.
1cda9ca591
Initially it was the idea that this would be version 2 of the https://github.com/hamburghammer/rcon lib but I changed my mind and decided to make a new Project out of it. It has formally nothing to do with the original lib.
19 lines
415 B
Go
19 lines
415 B
Go
package util_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hamburghammer/grcon"
|
|
"github.com/hamburghammer/grcon/util"
|
|
)
|
|
|
|
func TestRemoteConsole(t *testing.T) {
|
|
t.Run("*rcon.RemoteConsole should implement interface", func(t *testing.T) {
|
|
var r interface{} = &grcon.RemoteConsole{}
|
|
_, ok := r.(util.RemoteConsole)
|
|
if !ok {
|
|
t.Error("*rcon.RemoteConsole does not implement util.RemoteConsole interface")
|
|
}
|
|
})
|
|
}
|