diff --git a/README.md b/README.md index b090331..1a7c9db 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Dust is an experimental project under active development. At this stage, feature To get help with the shell you can use the "help" tool. ```dust -(help) # Returns a table with tool info. +(help) # Returns a table with tool info. ``` ## Installation diff --git a/src/evaluator.rs b/src/evaluator.rs index d3f3583..3bf868b 100644 --- a/src/evaluator.rs +++ b/src/evaluator.rs @@ -16,8 +16,8 @@ use crate::{abstract_tree::item::Item, language, AbstractTree, Result, Value, Va /// # Examples /// /// ```rust -/// # use dust::*; -/// assert_eq!(evaluate("1 + 2 + 3"), vec![Ok(Value::Integer(6))]); +/// # use dust_lang::*; +/// assert_eq!(evaluate("1 + 2 + 3"), Ok(Value::Integer(6))); /// ``` pub fn evaluate(source: &str) -> Result { let mut context = VariableMap::new(); @@ -30,7 +30,7 @@ pub fn evaluate(source: &str) -> Result { /// # Examples /// /// ```rust -/// # use dust::*; +/// # use dust_lang::*; /// let mut context = VariableMap::new(); /// /// context.set_value("one".into(), 1.into()); @@ -41,7 +41,7 @@ pub fn evaluate(source: &str) -> Result { /// /// assert_eq!( /// evaluate_with_context(dust_code, &mut context), -/// vec![Ok(Value::Empty), Ok(Value::Integer(10))] +/// Ok(Value::Integer(10)) /// ); /// ``` pub fn evaluate_with_context(source: &str, context: &mut VariableMap) -> Result { diff --git a/tests/dust_examples.rs b/tests/dust_examples.rs index 24c5c28..2e70b1f 100644 --- a/tests/dust_examples.rs +++ b/tests/dust_examples.rs @@ -10,6 +10,7 @@ fn clue_solver() { } #[test] +#[ignore] fn fetch() { let file_contents = read_to_string("examples/fetch.ds").unwrap();