Fingerprint test should now behave correctly when the executor is not installed; fix some go vet issues

This commit is contained in:
Chris Bednarski
2015-10-06 16:33:02 -07:00
parent 629a56ee70
commit 2801e7d1e1
3 changed files with 8 additions and 8 deletions

View File

@@ -28,8 +28,8 @@ func TestJavaDriver_Fingerprint(t *testing.T) {
if err != nil {
t.Fatalf("err: %v", err)
}
if !apply {
t.Fatalf("should apply")
if apply != javaLocated() {
t.Fatalf("Fingerprinter should detect Java when it is installed")
}
if node.Attributes["driver.java"] != "1" {
t.Fatalf("missing driver")