Skip to content

Commit c0247c4

Browse files
Milan RougemontMilan Rougemont
authored andcommitted
fix: wrong type in typespec
1 parent ddd2053 commit c0247c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/calque.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule Calque do
3232

3333
@type snapshot :: Snapshot.t()
3434

35-
@version "1.3.1"
35+
@version "1.4.1"
3636
@snapshot_folder "calque_snapshots"
3737
@snapshot_test_failed_message "Calque snapshot test failed"
3838
@hint_review_message "Please review this snapshot using `mix calque review`"
@@ -135,7 +135,7 @@ defmodule Calque do
135135
This keeps snapshot names stable and closely aligned with test intent, without
136136
requiring any manual naming.
137137
"""
138-
@spec check(term()) :: :ok | no_return()
138+
@spec check(String.t()) :: :ok | no_return()
139139
defmacro check(content) do
140140
defining_mod = __MODULE__
141141
{fun_name, _arity} = __CALLER__.function || {:no_function, 0}

0 commit comments

Comments
 (0)