Skip to content

Commit

Permalink
fixup! feat(psl): Add support for UUIDv7
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuelenaere committed May 23, 2024
1 parent d006af3 commit f5d661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psl/psl/tests/common/asserts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ impl DefaultValueAssert for ast::Expression {
#[track_caller]
fn assert_uuid(&self) -> &Self {
assert!(
matches!(self, ast::Expression::Function(name, args, _) if name == "uuid" && args.arguments.is_empty())
matches!(self, ast::Expression::Function(name, args, _) if name.starts_with("uuid") && args.arguments.is_empty())
);

self
Expand Down

0 comments on commit f5d661e

Please sign in to comment.