Skip to content

Commit f341eac

Browse files
Milan RougemontMilan Rougemont
authored andcommitted
Version 1.4.0
1 parent b429160 commit f341eac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 📝 Calque — Snapshot testing for Elixir
22

33
[![Hex.pm Package](https://img.shields.io/hexpm/v/calque.svg)](https://hex.pm/packages/calque)
4-
[![HexDocs](https://img.shields.io/badge/HexDocs-blue.svg)](https://hexdocs.pm/calque/1.3.1/Calque.html)
4+
[![HexDocs](https://img.shields.io/badge/HexDocs-blue.svg)](https://hexdocs.pm/calque/1.4.0/Calque.html)
55
> **/kalk/** — “Calque” is a French word meaning *tracing paper* or *copy*.
66
> Like its name, this library lets you trace your program’s output and compare it over time.
77
@@ -22,7 +22,7 @@ Add Calque as a test dependency and fetch it:
2222
```elixir
2323
def deps do
2424
[
25-
{:calque, "~> 1.3.1", only: :test}
25+
{:calque, "~> 1.4.0", only: [:test,:dev]}
2626
]
2727
end
2828
```
@@ -38,15 +38,15 @@ You decide how to turn your value into a string before creating a snapshot, givi
3838
```elixir
3939
defmodule MyApp.GreetingTest do
4040
use ExUnit.Case, async: true
41-
41+
4242
# Example using check/2
4343
test "renders a friendly greeting" do
4444
%{hello: "world", nums: [1, 2, 3, 4]}
4545
|> inspect(pretty: true)
4646
|> Calque.check("greeting renders correctly")
4747
end
4848

49-
# Example using check/1
49+
# Example using check/1
5050
test "say hi to baloo" do
5151
# The title is automatically set to "say hi to baloo"
5252
"Hi baloo! You are my favorite bear."

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Calque.MixProject do
44
def project do
55
[
66
app: :calque,
7-
version: "1.3.1",
7+
version: "1.4.0",
88
elixir: "~> 1.12",
99
description: "A simple snapshot testing library inspired by Birdie (Gleam) and Insta (Rust).",
1010
package: package(),

0 commit comments

Comments
 (0)