Skip to content

Commit 17d1c1d

Browse files
committed
Remove unneeded asserts
1 parent a6837e6 commit 17d1c1d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/gleam/uri_test.gleam

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn error_parsing_uri_test() {
4343
}
4444

4545
pub fn full_uri_to_string_test() {
46-
assert test_uri =
46+
let test_uri =
4747
uri.Uri(
4848
Some("https"),
4949
Some("foo:bar"),
@@ -60,7 +60,7 @@ pub fn full_uri_to_string_test() {
6060
}
6161

6262
pub fn path_only_uri_to_string_test() {
63-
assert test_uri = uri.Uri(None, None, None, None, "/", None, None)
63+
let test_uri = uri.Uri(None, None, None, None, "/", None, None)
6464
should.equal(uri.to_string(test_uri), "/")
6565
}
6666

@@ -84,13 +84,13 @@ pub fn error_parsing_query_test() {
8484
}
8585

8686
pub fn query_to_string_test() {
87-
assert query_string =
87+
let query_string =
8888
uri.query_to_string([tuple("foo bar", "1"), tuple("city", "örebro")])
8989
should.equal(query_string, "foo+bar=1&city=%C3%B6rebro")
9090
}
9191

9292
pub fn empty_query_to_string_test() {
93-
assert query_string = uri.query_to_string([])
93+
let query_string = uri.query_to_string([])
9494
should.equal(query_string, "")
9595
}
9696

@@ -136,7 +136,7 @@ pub fn percent_encode_consistency_test() {
136136
let k = "foo bar[]"
137137
let v = "ñaña (,:*~)"
138138

139-
assert query_string = uri.query_to_string([tuple(k, v)])
139+
let query_string = uri.query_to_string([tuple(k, v)])
140140

141141
let encoded_key = uri.percent_encode(k)
142142
let encoded_value = uri.percent_encode(v)

0 commit comments

Comments
 (0)