add cfg tag
This commit is contained in:
parent
15106bde99
commit
c31b396e28
1 changed files with 3 additions and 0 deletions
|
@ -65,7 +65,10 @@ impl FlatVariable {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn one() {
|
||||
assert_eq!(FlatVariable::one().id, 0);
|
||||
|
|
Loading…
Reference in a new issue