🐦‍⬛ Snapshot testing in Gleam
0

Configure Feed

Select the types of activity you want to include in your feed.

v2.0.2

author
Giacomo Cavalieri
date (Jul 16, 2026, 9:46 AM +0200) commit 577fb806 parent 4e7465d5 change-id lmrozxqz
+17 -8
+4
CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## 2.0.2 - 2026-07-16 4 + 5 + - Updated the `glance` constraint to use the latest `v7.0.0`. 6 + 3 7 ## 2.0.1 - 2026-06-15 4 8 5 9 - Fixed a bug where newline characters would be displayed as escaped when
+2 -2
gleam.toml
··· 1 1 name = "birdie" 2 - version = "2.0.1" 2 + version = "2.0.2" 3 3 4 4 description = "🐦‍⬛ Snapshot testing in Gleam" 5 5 licences = ["Apache-2.0"] ··· 17 17 edit_distance = ">= 3.0.0 and < 4.0.0" 18 18 envoy = ">= 1.1.0 and < 2.0.0" 19 19 filepath = ">= 1.1.0 and < 2.0.0" 20 - glance = ">= 6.0.0 and < 7.0.0" 21 20 gleam_community_ansi = ">= 1.4.0 and < 2.0.0" 22 21 gleam_json = ">= 3.0.0 and < 4.0.0" 23 22 gleam_stdlib = ">= 0.43.0 and < 2.0.0" ··· 27 26 simplifile = ">= 2.4.0 and < 3.0.0" 28 27 term_size = ">= 1.0.1 and < 2.0.0" 29 28 tom = ">= 2.0.0 and < 3.0.0" 29 + glance = ">= 7.0.0 and < 8.0.0" 30 30 31 31 [dev-dependencies] 32 32 gleeunit = ">= 1.2.0 and < 2.0.0"
+10 -5
manifest.toml
··· 1 - # This file was generated by Gleam 2 - # You typically do not need to edit this file 1 + # Do not manually edit this file, it is managed by Gleam. 2 + # 3 + # This file locks the dependency versions used, to make your build 4 + # deterministic and to prevent unexpected versions from being included 5 + # in your application. 6 + # 7 + # You should check this file into your source control repository. 3 8 4 9 packages = [ 5 10 { name = "argv", version = "1.1.0", build_tools = ["gleam"], requirements = [], otp_app = "argv", source = "hex", outer_checksum = "3277D100448BDB4A29B6D58C0F36F631CBC349E8BDD09766C6309DF202831140" }, 6 11 { name = "edit_distance", version = "3.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "edit_distance", source = "hex", outer_checksum = "DE588BC3483ED6DBA717211B59F3178891A5FC6F1C00D415AE8C4233EAFB94B1" }, 7 12 { name = "envoy", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "envoy", source = "hex", outer_checksum = "9C6FBB6BFA02A52798BEEC5977A738CAD6E4A057F4B67FD0C8061AD2502C191A" }, 8 13 { name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" }, 9 - { name = "glance", version = "6.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "49E0ED4793BB3F56C3E5ED00528D70CAE21D263F70A735604124B95C5F62E2DB" }, 14 + { name = "glance", version = "7.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "EA52986965408D43003A1760E41457493EB96098DE193E6AD8646930EC190CB9" }, 10 15 { name = "gleam_community_ansi", version = "1.5.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_regexp", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "B5AA433AF84313E23FDF90CCFF752B9380FE9FFCE02B2949D49B7AACCC77B16D" }, 11 16 { name = "gleam_community_colour", version = "2.0.4", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "6DB4665555D7D2B27F0EA32EF47E8BEBC4303821765F9C73D483F38EE24894F0" }, 12 17 { name = "gleam_json", version = "3.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "44FDAA8847BE8FC48CA7A1C089706BD54BADCC4C45B237A992EDDF9F2CDB2836" }, ··· 18 23 { name = "global_value", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "global_value", source = "hex", outer_checksum = "23F74C91A7B819C43ABCCBF49DAD5BB8799D81F2A3736BA9A534BD47F309FF4F" }, 19 24 { name = "justin", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "justin", source = "hex", outer_checksum = "8B1C62269E8607D0A0ED698B7903984CE0BF7B6B3C0DEA3C6C8302B39402837B" }, 20 25 { name = "rank", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "rank", source = "hex", outer_checksum = "B846D54D1512FB83A3994A07A8C7915FE74335A99BCE1EDC7943EA31ED710DFD" }, 21 - { name = "simplifile", version = "2.4.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "7C18AFA4FED0B4CE1FA5B0B4BAC1FA1744427054EA993565F6F3F82E5453170D" }, 26 + { name = "simplifile", version = "2.5.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "6C72DCCDF25C38A5931740B30E823969F33106831FD1637719B5EDBCA30027A4" }, 22 27 { name = "splitter", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "splitter", source = "hex", outer_checksum = "3DFD6B6C49E61EDAF6F7B27A42054A17CFF6CA2135FF553D0CB61C234D281DD0" }, 23 28 { name = "term_size", version = "1.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "term_size", source = "hex", outer_checksum = "D00BD2BC8FB3EBB7E6AE076F3F1FF2AC9D5ED1805F004D0896C784D06C6645F1" }, 24 29 { name = "tom", version = "2.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_time"], otp_app = "tom", source = "hex", outer_checksum = "DCF04CB7AB35D58CFC598C66EA2E1816D160759802C89B2BA6238780D59BC256" }, ··· 30 35 edit_distance = { version = ">= 3.0.0 and < 4.0.0" } 31 36 envoy = { version = ">= 1.1.0 and < 2.0.0" } 32 37 filepath = { version = ">= 1.1.0 and < 2.0.0" } 33 - glance = { version = ">= 6.0.0 and < 7.0.0" } 38 + glance = { version = ">= 7.0.0 and < 8.0.0" } 34 39 gleam_community_ansi = { version = ">= 1.4.0 and < 2.0.0" } 35 40 gleam_json = { version = ">= 3.0.0 and < 4.0.0" } 36 41 gleam_stdlib = { version = ">= 0.43.0 and < 2.0.0" }
+1 -1
src/birdie.gleam
··· 28 28 import simplifile.{Eexist, Enoent} 29 29 import term_size 30 30 31 - const birdie_version = "2.0.1" 31 + const birdie_version = "2.0.2" 32 32 33 33 const hint_review_message = "run `gleam run -m birdie` to review the snapshots" 34 34