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 46047f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions psl/psl/tests/common/asserts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,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())
);
assert!(matches!(self, ast::Expression::Function(name, args, _) if name == "uuid"));

Check failure on line 634 in psl/psl/tests/common/asserts.rs

View workflow job for this annotation

GitHub Actions / test

unused variable: `args`

Check failure on line 634 in psl/psl/tests/common/asserts.rs

View workflow job for this annotation

GitHub Actions / clippy linting

unused variable: `args`

self
}
Expand Down

0 comments on commit 46047f6

Please sign in to comment.