mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
12 lines
279 B
Rust
12 lines
279 B
Rust
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
use regorus::builtins;
|
|
use regorus::Value;
|
|
|
|
// Lockdown calls that cannot happen via rego.
|
|
#[test]
|
|
fn type_name_undefined() {
|
|
assert_eq!(builtins::types::get_type(&Value::Undefined), "undefined");
|
|
}
|