surrealpatch/lib/tests/expression.rs

9 lines
171 B
Rust

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(())
}