🐦‍⬛ Snapshot testing in Gleam

:bookmark: Version 1.1.8

+3 -1
.github/workflows/release.yml
··· 8 8 jobs: 9 9 release: 10 10 uses: TanklesXL/gleam_actions/.github/workflows/release.yaml@main 11 - secrets: inherit 11 + secrets: 12 + HEXPM_USER: ${{ secrets.HEXPM_USER }} 13 + HEXPM_PASS: ${{ secrets.HEXPM_PASS }} 12 14 with: 13 15 gleam_version: 1.3.1 14 16 erlang_version: 27
+4
CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## v1.1.8 - 2024-05-28 4 + 5 + - ⬆️ Update `stdlib` to `>= 0.39.0 and < 1.0.0` 6 + 3 7 ## v1.1.7 - 2024-05-28 4 8 5 9 - ⬆️ Update `simplifile` to `>= 2.0.1 and < 3.0.0`
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_`birdie_snap`.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling `birdie.snap` 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_birdie_snap_test
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_`snap`.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling `snap` 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_snap_test
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_aliased_`b_snap`.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling aliased `b.snap` 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_aliased_birdie_snap_test
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_aliased_`s`.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling aliased `s` 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_aliased_snap_test
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_aliased_discarded_module.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling aliased discarded module 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_aliased_discarded_module_test
+1 -1
birdie_snapshots/can_find_literal_titles_when_calling_discarded_module.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can find literal titles when calling discarded module 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_find_literal_titles_when_calling_discarded_module_test
+1 -1
birdie_snapshots/can_read_the_snap_titles_from_the_project_itself.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: can read the snap titles from the project itself 4 4 file: ./test/titles_test.gleam 5 5 test_name: can_read_the_snap_titles_from_the_project_itself_test
+1 -1
birdie_snapshots/diffing_a_case_expression.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: diffing a case expression 4 4 file: ./test/birdie_test.gleam 5 5 test_name: complex_function_test
+1 -1
birdie_snapshots/my_favourite_number_wrapped_in_a_result.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: my favourite number wrapped in a result 4 4 file: ./test/birdie_test.gleam 5 5 test_name: a_result_test
+1 -1
birdie_snapshots/my_first_snapshot.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: my first snapshot 4 4 file: ./test/birdie_test.gleam 5 5 test_name: hello_birdie_test
+1 -1
birdie_snapshots/snapping_a_list_of_numbers.accepted
··· 1 1 --- 2 - version: 1.1.7 2 + version: 1.1.8 3 3 title: snapping a list of numbers 4 4 file: ./test/birdie_test.gleam 5 5 test_name: list_test
+2 -2
gleam.toml
··· 1 1 name = "birdie" 2 - version = "1.1.7" 2 + version = "1.1.8" 3 3 4 4 description = "Snapshot testing in Gleam" 5 5 licences = ["Apache-2.0"] ··· 7 7 target = "erlang" 8 8 9 9 [dependencies] 10 - gleam_stdlib = ">= 0.38.0 and < 1.0.0" 10 + gleam_stdlib = ">= 0.39.0 and < 1.0.0" 11 11 justin = ">= 1.0.1 and < 2.0.0" 12 12 gleam_community_ansi = ">= 1.4.0 and < 2.0.0" 13 13 argv = ">= 1.0.2 and < 2.0.0"
+1 -1
manifest.toml
··· 25 25 glance = { version = ">= 0.11.0 and < 1.0.0" } 26 26 gleam_community_ansi = { version = ">= 1.4.0 and < 2.0.0" } 27 27 gleam_erlang = { version = ">= 0.25.0 and < 1.0.0" } 28 - gleam_stdlib = { version = ">= 0.38.0 and < 1.0.0" } 28 + gleam_stdlib = { version = ">= 0.39.0 and < 1.0.0" } 29 29 gleeunit = { version = ">= 1.2.0 and < 2.0.0" } 30 30 justin = { version = ">= 1.0.1 and < 2.0.0" } 31 31 rank = { version = ">= 1.0.0 and < 2.0.0" }
+1 -1
src/birdie.gleam
··· 16 16 import rank 17 17 import simplifile 18 18 19 - const birdie_version = "1.1.7" 19 + const birdie_version = "1.1.8" 20 20 21 21 const birdie_snapshots_folder = "birdie_snapshots" 22 22