surrealpatch/lib/tests/expression.rs

10 lines
171 B
Rust
Raw Normal View History

mod helpers;
use helpers::Test;
use surrealdb::err::Error;
#[tokio::test]
async fn modulo() -> Result<(), Error> {
Test::new("8 % 3").await?.expect_val("2")?;
Ok(())
}