1 //go:build 1.8 2 3 package couchauth 4 5 import "testing" 6 7 // Go 1.7 doesn't consider this a failure 8 func TestBadDSN18(t *testing.T) { 9 if _, err := New("ht\\tp:/! This is really bogus!"); err == nil { 10 t.Errorf("Expected error for invalid URL.") 11 } 12 } 13