File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,27 +275,27 @@ defmodule AshSqlite.CalculationTest do
275275 |> Ash . read_one! ( )
276276 end
277277
278- test "string_ends_with? matches a suffix" do
278+ test "string_ends_with matches a suffix" do
279279 Post
280280 |> Ash.Changeset . for_create ( :create , % { title: "foo-dude-bar" } )
281281 |> Ash . create! ( )
282282
283283 assert Post
284- |> Ash.Query . filter ( string_ends_with? ( title , "-bar" ) )
284+ |> Ash.Query . filter ( string_ends_with ( title , "-bar" ) )
285285 |> Ash . read_one! ( )
286286
287287 refute Post
288- |> Ash.Query . filter ( string_ends_with? ( title , "foo" ) )
288+ |> Ash.Query . filter ( string_ends_with ( title , "foo" ) )
289289 |> Ash . read_one! ( )
290290 end
291291
292- test "string_ends_with? escapes wildcards" do
292+ test "string_ends_with escapes wildcards" do
293293 Post
294294 |> Ash.Changeset . for_create ( :create , % { title: "abc-off-xyz" } )
295295 |> Ash . create! ( )
296296
297297 refute Post
298- |> Ash.Query . filter ( string_ends_with? ( title , "%z" ) )
298+ |> Ash.Query . filter ( string_ends_with ( title , "%z" ) )
299299 |> Ash . read_one! ( )
300300 end
301301
You can’t perform that action at this time.
0 commit comments