mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-20 10:04:08 +00:00
Add some helper for base-url
This commit is contained in:
parent
243123fd7e
commit
f2cd1edc57
3 changed files with 20 additions and 6 deletions
|
@ -128,7 +128,7 @@ func TestParseSize_10kLowerCaseSuccess(t *testing.T) {
|
|||
|
||||
func TestParseSize_FailureInvalid(t *testing.T) {
|
||||
_, err := ParseSize("not a size")
|
||||
require.Nil(t, err)
|
||||
require.Error(t, err)
|
||||
}
|
||||
|
||||
func TestFormatSize(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue