From 8abbd0256031e96135a5c4313cb169ccc83e91bf Mon Sep 17 00:00:00 2001 From: cornfeedhobo Date: Sat, 29 Jun 2019 16:27:12 -0500 Subject: [PATCH] attempt to make travis happy --- test/plugins/go.plugin.bats | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/plugins/go.plugin.bats b/test/plugins/go.plugin.bats index e4b30d44..c56542ba 100644 --- a/test/plugins/go.plugin.bats +++ b/test/plugins/go.plugin.bats @@ -5,6 +5,10 @@ load ../../lib/helpers load ../../lib/composure load ../../plugins/available/go.plugin +@test 'ensure _go_pathmunge_wrap is defined' { + [[ $(type -t _go_pathmunge_wrap) = 'function' ]] +} + @test 'debug where is go in travis' { assert_equal $(which go) 'dummy' } @@ -17,8 +21,9 @@ load ../../plugins/available/go.plugin assert_equal $(go env GOROOT) 'dummy' } -@test 'ensure _go_pathmunge_wrap is defined' { - [[ $(type -t _go_pathmunge_wrap) = 'function' ]] +@test 'debug goroot in travis, after load' { + load ../../plugins/available/go.plugin + assert_equal $(go env GOROOT) 'dummy' } @test 'plugins go: single entry in GOPATH' {