Update tests

This commit is contained in:
2026-01-21 17:08:26 +01:00
parent 67322381c3
commit 0a14651835
3 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ fn float_literal() {
fn string_with_spaces() { fn string_with_spaces() {
let f = run(r#""hello world" "x" set "x" get"#); let f = run(r#""hello world" "x" set "x" get"#);
match stack_top(&f) { match stack_top(&f) {
seq::model::forth::Value::Str(s, _) => assert_eq!(s, "hello world"), cagire::model::forth::Value::Str(s, _) => assert_eq!(s, "hello world"),
other => panic!("expected string, got {:?}", other), other => panic!("expected string, got {:?}", other),
} }
} }

View File

@@ -1,6 +1,6 @@
use rand::rngs::StdRng; use rand::rngs::StdRng;
use rand::SeedableRng; use rand::SeedableRng;
use seq::model::forth::{Forth, Rng, StepContext, Value, Variables}; use cagire::model::forth::{Forth, Rng, StepContext, Value, Variables};
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::{Arc, Mutex}; use std::sync::{Arc, Mutex};

View File

@@ -1,5 +1,5 @@
use super::harness::*; use super::harness::*;
use seq::model::forth::Value; use cagire::model::forth::Value;
fn int(n: i64) -> Value { fn int(n: i64) -> Value {
Value::Int(n, None) Value::Int(n, None)