Fix gleam sample files to use `let assert`

pull/844/head
Eman Resu 2025-06-05 21:56:16 +07:00
parent 49c8f28c43
commit 91b288c1c0
3 changed files with 3 additions and 3 deletions

@ -278,7 +278,7 @@ sample_files/text_1.txt sample_files/text_2.txt
f8f81946284fc625ac8e9ae441f31e6d -
sample_files/todomvc_1.gleam sample_files/todomvc_2.gleam
9fe64f7d77ad99095ac29357554f3d71 -
6b3b8c9f1e813617819b97144cc5cc4a -
sample_files/toml_1.toml sample_files/toml_2.toml
c331bdb54c00b0a5b5a622dbd250042a -

@ -19,7 +19,7 @@ pub fn main() {
string.concat(["Listening on localhost:", int.to_string(port), " ✨"])
|> log.info
assert Ok(_) = elli.become(web, on_port: port)
let assert Ok(_) = elli.become(web, on_port: port)
}
pub fn start_database_connection_pool() -> pgo.Connection {

@ -20,7 +20,7 @@ pub fn main() {
string.concat(["Listening on localhost:", int.to_string(port), " ✨"])
log.info(log_string)
assert Ok(_) = elli.become(web, on_port: port)
let assert Ok(_) = elli.become(web, on_port: port)
}
pub fn start_database_connection_pool() -> pgo.Connection {