Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed Jul 17, 2020
1 parent d8a329e commit 2179106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_googlesearch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import unittest
import googlesearch

test "search nim lang":
for result in search("Nim programming language", 1):
check result.url == "https://nim-lang.org/"
for result in search("nim-lang wikipedia", 1):
check result.url == "https://en.wikipedia.org/wiki/Nim_(programming_language)"

test "search more pages":
var total = 0
Expand Down

0 comments on commit 2179106

Please sign in to comment.