summaryrefslogtreecommitdiff
path: root/cmd/rescribe/testdata
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-11-22 16:14:25 +0000
committerNick White <git@njw.name>2022-11-22 16:14:25 +0000
commit59f87fbcbcc4d6c5ac165d6053c1a3734f48e810 (patch)
tree91ece3b4799d6c3a0f6ee36a7f55644ce7888b8c /cmd/rescribe/testdata
parentfa1e5fa6d5468a25195463426921607bcc7768bc (diff)
rescribe: add gbook fuzzer test and fix some bugs it found!
Diffstat (limited to 'cmd/rescribe/testdata')
-rw-r--r--cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/174f82f558636f2a2
-rw-r--r--cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/60892155cf2f79632
2 files changed, 4 insertions, 0 deletions
diff --git a/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/174f82f558636f2a b/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/174f82f558636f2a
new file mode 100644
index 0000000..1a7ed9c
--- /dev/null
+++ b/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/174f82f558636f2a
@@ -0,0 +1,2 @@
+go test fuzz v1
+string("https://www0google\xf7/books/edition/_/")
diff --git a/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/60892155cf2f7963 b/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/60892155cf2f7963
new file mode 100644
index 0000000..b637539
--- /dev/null
+++ b/cmd/rescribe/testdata/fuzz/FuzzGetBookIdFromUrl/60892155cf2f7963
@@ -0,0 +1,2 @@
+go test fuzz v1
+string("https://Books.google\xc1&id=")