Skip to content

Commit 8af61f0

Browse files
format code
1 parent 2ec12fb commit 8af61f0

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: erlef/[email protected]
1616
with:
1717
otp-version: "26.0.2"
18-
gleam-version: "0.34.1"
18+
gleam-version: "1.1.0"
1919
rebar3-version: "3"
2020
- run: gleam format --check src test
2121
- run: gleam deps download

src/examples/gleam_lists.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import glam/doc.{type Document}
12
import gleam/int
23
import gleam/io
34
import gleam/list
45
import gleam/string
5-
import glam/doc.{type Document}
66

77
/// Pretty prints a list of strings:
88
/// - each string is surrounded by quotes

src/examples/json.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import glam/doc.{type Document}
12
import gleam/bool
23
import gleam/float
34
import gleam/int
45
import gleam/io
56
import gleam/list
67
import gleam/string
7-
import glam/doc.{type Document}
88

99
pub type JSON {
1010
String(String)

src/examples/todo_lists.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import glam/doc.{type Document}
12
import gleam/io
23
import gleam/list
3-
import glam/doc.{type Document}
44

55
pub type TodoList =
66
List(Task)

test/glam/doc_test.gleam

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import birdie
2+
import examples/error_messages
3+
import examples/json
4+
import glam/doc
15
import gleam/list
26
import gleam/string
37
import gleeunit/should
4-
import glam/doc
5-
import examples/json
6-
import examples/error_messages
7-
import birdie
88

99
pub fn append_test() {
1010
doc.from_string("foo")

test/glam/examples_test.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import birdie
12
import examples/error_messages
23
import examples/gleam_lists
34
import examples/json
45
import examples/todo_lists
56
import glam/doc
6-
import birdie
77

88
pub fn error_messages_in_a_small_space_test() {
99
error_messages.errors_to_doc(

0 commit comments

Comments
 (0)