forked from mirrors/kingfisher
fixing rules
This commit is contained in:
parent
8aac161603
commit
7eb7be72cd
1 changed files with 3 additions and 12 deletions
|
|
@ -996,14 +996,8 @@ mod tests {
|
|||
let mut globals = Object::new();
|
||||
populate_globals_from_captures(&mut globals, &captured_values);
|
||||
|
||||
assert_eq!(
|
||||
globals.get("TOKEN"),
|
||||
Some(Value::scalar("longervalue")).as_ref()
|
||||
);
|
||||
assert_eq!(
|
||||
globals.get("BODY"),
|
||||
Some(Value::scalar("body")).as_ref()
|
||||
);
|
||||
assert_eq!(globals.get("TOKEN"), Some(Value::scalar("longervalue")).as_ref());
|
||||
assert_eq!(globals.get("BODY"), Some(Value::scalar("body")).as_ref());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -1014,10 +1008,7 @@ mod tests {
|
|||
populate_globals_from_captures(&mut globals, &captured_values);
|
||||
|
||||
assert!(globals.get("TOKEN").is_none());
|
||||
assert_eq!(
|
||||
globals.get("CHECKSUM"),
|
||||
Some(Value::scalar("123456")).as_ref()
|
||||
);
|
||||
assert_eq!(globals.get("CHECKSUM"), Some(Value::scalar("123456")).as_ref());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue