2
0
mirror of synced 2025-02-23 06:08:07 +00:00

Include a null byte in the middle of the Greeting test

This commit is contained in:
Matt Joiner 2020-10-30 10:42:45 +11:00
parent 7410e28329
commit 6f619c39cb

View File

@ -21,7 +21,8 @@ var Greeting = Torrent{
}
const (
GreetingFileContents = "hello, world\n"
// A null in the middle triggers an error if SQLite stores data as text instead of blob.
GreetingFileContents = "hello,\x00world\n"
GreetingFileName = "greeting"
)