test all go versions since 1.1

This commit is contained in:
Martin Angers
2016-06-15 07:50:27 -04:00
parent aeecb06b1e
commit 2cd8b4e49a
3 changed files with 19 additions and 1 deletions
+3
View File
@@ -4,4 +4,7 @@ go:
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- tip
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2012-2014, Martin Angers & Contributors
Copyright (c) 2012-2016, Martin Angers & Contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+15
View File
@@ -0,0 +1,15 @@
package goquery
import (
"strings"
"testing"
)
func TestIssue114(t *testing.T) {
d, err := NewDocumentFromReader(strings.NewReader("<html><head><title>some title</title></head><body><h1>H1</h1></body></html>"))
if err != nil {
t.Error(err)
}
sel := d.Find("~")
t.Log(sel)
}