summary refs log tree commit diff
path: root/src/tests.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2024-05-27 20:47:30 -0700
committerIrene Knapp <ireneista@irenes.space>2024-05-27 20:47:35 -0700
commit80509e558f38cd00f06d44d9a647234fa32b949f (patch)
tree0c22b2fc84cfc29f2a9f247d88acc0ae2682851a /src/tests.rs
parent260500cc508813d0b9f42b8c6f16880a4b6dad71 (diff)
fix tests to handle readtables
Change-Id: If0b44bfb070bab02e7922d6d419071390882d971
Force-Push: sigh
Diffstat (limited to 'src/tests.rs')
-rw-r--r--src/tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests.rs b/src/tests.rs
index 013696b..166567f 100644
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -6,10 +6,11 @@ mod tests {
 
     fn new_state() -> RPState {
         return RPState {
-            registers: baseline_regsiters(),
+            registers: baseline_registers(),
             stack: Vec::new(),
             eat_count: 0,
             mode: Mode::CommandChar,
+            readtables: make_default_readtables(),
             is_num_negative: false,
             wip_str: String::from(""),
             reg_command: String::from(""),