Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomocavalieri committed Apr 26, 2024
1 parent 2ec12fb commit 8af61f0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: erlef/[email protected]
with:
otp-version: "26.0.2"
gleam-version: "0.34.1"
gleam-version: "1.1.0"
rebar3-version: "3"
- run: gleam format --check src test
- run: gleam deps download
Expand Down
2 changes: 1 addition & 1 deletion src/examples/gleam_lists.gleam
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import glam/doc.{type Document}
import gleam/int
import gleam/io
import gleam/list
import gleam/string
import glam/doc.{type Document}

/// Pretty prints a list of strings:
/// - each string is surrounded by quotes
Expand Down
2 changes: 1 addition & 1 deletion src/examples/json.gleam
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import glam/doc.{type Document}
import gleam/bool
import gleam/float
import gleam/int
import gleam/io
import gleam/list
import gleam/string
import glam/doc.{type Document}

pub type JSON {
String(String)
Expand Down
2 changes: 1 addition & 1 deletion src/examples/todo_lists.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import glam/doc.{type Document}
import gleam/io
import gleam/list
import glam/doc.{type Document}

pub type TodoList =
List(Task)
Expand Down
8 changes: 4 additions & 4 deletions test/glam/doc_test.gleam
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import birdie
import examples/error_messages
import examples/json
import glam/doc
import gleam/list
import gleam/string
import gleeunit/should
import glam/doc
import examples/json
import examples/error_messages
import birdie

pub fn append_test() {
doc.from_string("foo")
Expand Down
2 changes: 1 addition & 1 deletion test/glam/examples_test.gleam
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import birdie
import examples/error_messages
import examples/gleam_lists
import examples/json
import examples/todo_lists
import glam/doc
import birdie

pub fn error_messages_in_a_small_space_test() {
error_messages.errors_to_doc(
Expand Down

0 comments on commit 8af61f0

Please sign in to comment.