updated to new version of the gatt library

This commit is contained in:
evilsocket 2018-04-17 18:25:40 +02:00
parent 214d2a56da
commit 8a36ca3c47
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 11 additions and 4 deletions

9
glide.lock generated
View file

@ -1,11 +1,12 @@
hash: fbde0d2452ce166fdbca5d911aa533bef347f420e172f0801a98b90ec6ccf9be
updated: 2018-04-01T14:15:20.005813196+02:00
hash: 8c75fb42328bdf49846d94b20ffdca1271647dac675a481d9e2c090c2fcadf95
updated: 2018-04-17T18:24:27.044155505+02:00
imports:
- name: github.com/adrianmo/go-nmea
version: 22095aa1b48050243d3eb9a001ca80eb91a0c6fa
vcs: git
- name: github.com/bettercap/gatt
version: 6475b946a0bff32e906c25d861f2b1c6d2056baa
version: e65eb2df9116e5ec6e2409b6142a09a93e96b900
vcs: git
subpackages:
- linux
- linux/cmd
@ -26,7 +27,7 @@ imports:
version: a96fa3a318260eab29abaf32f7128c9eb07fb073
vcs: git
- name: github.com/gobwas/glob
version: 19c076cdf202b3d1c0489bdfa2f2f289f634474b
version: f00a7392b43971b2fdb562418faab1f18da2067a
subpackages:
- compiler
- match

View file

@ -4,6 +4,8 @@ import:
vcs: git
version: 22095aa1b48050243d3eb9a001ca80eb91a0c6fa
- package: github.com/bettercap/gatt
vcs: git
version: e65eb2df9116e5ec6e2409b6142a09a93e96b900
subpackages:
- linux/cmd
- package: github.com/bettercap/readline

View file

@ -130,6 +130,10 @@ func TestGlob(t *testing.T) {
glob(false, "{*.google.*,yandex.*}", "www.yandex.com", '.'),
glob(false, "{*.google.*,yandex.*}", "google.com", '.'),
glob(true, "*//{,*.}example.com", "https://www.example.com"),
glob(true, "*//{,*.}example.com", "http://example.com"),
glob(false, "*//{,*.}example.com", "http://example.com.net"),
glob(true, pattern_all, fixture_all_match),
glob(false, pattern_all, fixture_all_mismatch),