Fix tests.
This commit is contained in:
@@ -920,7 +920,7 @@ mod tests {
|
||||
},
|
||||
KVPair {
|
||||
key: "animal",
|
||||
value: RValue::RVString("cat".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString("cat".to_owned()))
|
||||
}
|
||||
]
|
||||
})
|
||||
@@ -943,7 +943,7 @@ mod tests {
|
||||
},
|
||||
KVPair {
|
||||
key: "animal",
|
||||
value: RValue::RVString("cat".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString("cat".to_owned()))
|
||||
}
|
||||
]
|
||||
})
|
||||
@@ -962,11 +962,11 @@ mod tests {
|
||||
params: vec![
|
||||
KVPair {
|
||||
key: "a",
|
||||
value: RValue::RVString("foo".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString("foo".to_owned()))
|
||||
},
|
||||
KVPair {
|
||||
key: "b",
|
||||
value: RValue::RVPositiveInteger(179)
|
||||
value: RValue::RVLiteral(OwnedLiteral::LPositiveInteger(179))
|
||||
}
|
||||
]
|
||||
})
|
||||
@@ -989,7 +989,7 @@ mod tests {
|
||||
},
|
||||
KVPair {
|
||||
key: "value",
|
||||
value: RValue::RVString("cat".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString("cat".to_owned()))
|
||||
}
|
||||
],
|
||||
contents: Some(Body {
|
||||
@@ -1025,7 +1025,7 @@ mod tests {
|
||||
},
|
||||
KVPair {
|
||||
key: "value",
|
||||
value: RValue::RVString("cat".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString("cat".to_owned()))
|
||||
}
|
||||
],
|
||||
contents: None,
|
||||
@@ -1131,23 +1131,33 @@ mod tests {
|
||||
params: vec![
|
||||
KVPair {
|
||||
key: "v1",
|
||||
value: RValue::RVString("b".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString(
|
||||
"b".to_owned()
|
||||
))
|
||||
},
|
||||
KVPair {
|
||||
key: "v2",
|
||||
value: RValue::RVString("b".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString(
|
||||
"b".to_owned()
|
||||
))
|
||||
},
|
||||
KVPair {
|
||||
key: "v3",
|
||||
value: RValue::RVString("b".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString(
|
||||
"b".to_owned()
|
||||
))
|
||||
},
|
||||
KVPair {
|
||||
key: "v4",
|
||||
value: RValue::RVString("b".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString(
|
||||
"b".to_owned()
|
||||
))
|
||||
},
|
||||
KVPair {
|
||||
key: "v5",
|
||||
value: RValue::RVString("b".to_owned())
|
||||
value: RValue::RVLiteral(OwnedLiteral::LString(
|
||||
"b".to_owned()
|
||||
))
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user