From 2cd8b4e49ab340ee54bffddcea7e0c4f6710d7db Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Wed, 15 Jun 2016 07:50:27 -0400 Subject: [PATCH] test all go versions since 1.1 --- .travis.yml | 3 +++ LICENSE | 2 +- i114_test.go | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 i114_test.go diff --git a/.travis.yml b/.travis.yml index cb8f4d6..41b1a36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,7 @@ go: - 1.1 - 1.2 - 1.3 + - 1.4 + - 1.5 + - 1.6 - tip diff --git a/LICENSE b/LICENSE index 6455cec..f743d37 100644 --- a/LICENSE +++ b/LICENSE @@ -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: diff --git a/i114_test.go b/i114_test.go new file mode 100644 index 0000000..038eff1 --- /dev/null +++ b/i114_test.go @@ -0,0 +1,15 @@ +package goquery + +import ( + "strings" + "testing" +) + +func TestIssue114(t *testing.T) { + d, err := NewDocumentFromReader(strings.NewReader("some title

H1

")) + if err != nil { + t.Error(err) + } + sel := d.Find("~") + t.Log(sel) +}