Skip to content

Instantly share code, notes, and snippets.

@lestrrat
Created July 11, 2014 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lestrrat/5a8765163ebd17a0b184 to your computer and use it in GitHub Desktop.
Save lestrrat/5a8765163ebd17a0b184 to your computer and use it in GitHub Desktop.
shoebill% go test -v .
=== RUN Test_appliance
--- PASS: Test_appliance (0.00 seconds)
=== RUN Test_blank
--- PASS: Test_blank (0.00 seconds)
=== RUN Test_crawler_google
--- PASS: Test_crawler_google (0.00 seconds)
=== RUN Test_crawler_nonmajor
--- PASS: Test_crawler_nonmajor (0.00 seconds)
=== RUN Test_crawler
--- FAIL: Test_crawler (0.00 seconds)
crawler_test.go:114: Expected result.Category to be 'crawler', but got 'smartphone'
crawler_test.go:117: Expected result.Name to be 'Yahoo! Japan', but got 'Safari'
crawler_test.go:120: Expected result.Os to be 'UNKNOWN', but got 'Android'
crawler_test.go:128: Expected result.Category to be 'crawler', but got 'smartphone'
crawler_test.go:131: Expected result.Name to be 'Yahoo! Japan', but got 'UNKNOWN'
crawler_test.go:134: Expected result.Os to be 'UNKNOWN', but got 'iPhone'
=== RUN Test_misc
--- PASS: Test_misc (0.00 seconds)
=== RUN Test_mobilephone_au
--- PASS: Test_mobilephone_au (0.00 seconds)
=== RUN Test_mobilephone_docomo
--- PASS: Test_mobilephone_docomo (0.00 seconds)
=== RUN Test_mobilephone_misc
--- PASS: Test_mobilephone_misc (0.00 seconds)
=== RUN Test_mobilephone_softbank
--- PASS: Test_mobilephone_softbank (0.00 seconds)
=== RUN Test_mobilephone_willcom
--- PASS: Test_mobilephone_willcom (0.00 seconds)
=== RUN Test_pc_lowpriority
--- PASS: Test_pc_lowpriority (0.00 seconds)
=== RUN Test_pc_misc
--- PASS: Test_pc_misc (0.00 seconds)
=== RUN Test_pc_win
--- FAIL: Test_pc_win (0.00 seconds)
pc_win_test.go:161: Expected result.Version to be '11.0', but got 'UNKNOWN'
pc_win_test.go:178: Expected result.Version to be '11.0', but got 'UNKNOWN'
=== RUN Test_smartphone_android
--- PASS: Test_smartphone_android (0.00 seconds)
=== RUN Test_smartphone_ios
--- PASS: Test_smartphone_ios (0.00 seconds)
=== RUN Test_smartphone_misc
--- PASS: Test_smartphone_misc (0.00 seconds)
FAIL
exit status 1
FAIL github.com/woothee/woothee-go 0.012s
shoebill%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment