Add empty string unit test

This commit is contained in:
TakeV 2023-07-02 22:35:53 -07:00
parent a7c418a1c0
commit 19e06c0182
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 8 additions and 0 deletions

8
tests/bencode.scm Normal file
View File

@ -0,0 +1,8 @@
(define-module (tests bencode)
#:use-module (srfi srfi-64)
#:use-module (guile-nrepl bencode))
(test-group "bencode.scm"
(test-group "encode"
(test-group "string->bencode"
(test-eqv "0:" (string->bencode "")))))