1
0
This commit is contained in:
Jeff 2024-02-14 18:57:24 -05:00
parent a23688803c
commit c2f0ec28ba

View File

@ -4,7 +4,7 @@ use dust_lang::{
};
#[test]
fn string_as_list() {
fn string_as_string_list() {
assert_eq!(
interpret("'foobar' as [str]"),
Ok(Value::List(List::with_items(vec![
@ -19,7 +19,7 @@ fn string_as_list() {
}
#[test]
fn string_as_list_conversion_error() {
fn string_as_list_error() {
assert_eq!(
interpret("'foobar' as [float]"),
Err(Error::Validation(ValidationError::ConversionImpossible {