diff options
author | 2018-08-26 16:43:53 -0700 | |
---|---|---|
committer | 2018-08-26 16:43:53 -0700 | |
commit | a3f3f51c60e91f22cc57ecc23cf828421d46b6b7 (patch) | |
tree | e037378ae0ca1f09cfb0eb46e289f28f857c2aed /vendor/github.com/tdewolff/parse/css/hash_test.go | |
parent | a9e9c347f4d385b4a297a45be96cddfc3a1c7814 (diff) |
Migrate to go modules (Go 1.11)
Diffstat (limited to 'vendor/github.com/tdewolff/parse/css/hash_test.go')
-rw-r--r-- | vendor/github.com/tdewolff/parse/css/hash_test.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/github.com/tdewolff/parse/css/hash_test.go b/vendor/github.com/tdewolff/parse/css/hash_test.go deleted file mode 100644 index e176cc1..0000000 --- a/vendor/github.com/tdewolff/parse/css/hash_test.go +++ /dev/null @@ -1,16 +0,0 @@ -package css // import "github.com/tdewolff/parse/css" - -import ( - "testing" - - "github.com/tdewolff/test" -) - -func TestHashTable(t *testing.T) { - test.T(t, ToHash([]byte("font")), Font, "'font' must resolve to hash.Font") - test.T(t, Font.String(), "font") - test.T(t, Margin_Left.String(), "margin-left") - test.T(t, ToHash([]byte("")), Hash(0), "empty string must resolve to zero") - test.T(t, Hash(0xffffff).String(), "") - test.T(t, ToHash([]byte("fonts")), Hash(0), "'fonts' must resolve to zero") -} |