init gleam code
This commit is contained in:
parent
edc815842e
commit
7149273986
9 changed files with 112 additions and 3 deletions
13
test/weather_portal_test.gleam
Normal file
13
test/weather_portal_test.gleam
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import gleeunit
|
||||
|
||||
pub fn main() -> Nil {
|
||||
gleeunit.main()
|
||||
}
|
||||
|
||||
// gleeunit test functions end in `_test`
|
||||
pub fn hello_world_test() {
|
||||
let name = "Joe"
|
||||
let greeting = "Hello, " <> name <> "!"
|
||||
|
||||
assert greeting == "Hello, Joe!"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue