about summary refs log tree commit diff stats
path: root/shell/evaluate.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-10 22:38:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-10 22:38:02 -0700
commitf38c2a1502648b0be16fc2e984420886cf64cdee (patch)
treec6ffcfa28c1eb7743f8099e90b1eb2f9375ece99 /shell/evaluate.mu
parent1afc02113ae7a088bf1a02ef423fcd875292c6c2 (diff)
downloadmu-f38c2a1502648b0be16fc2e984420886cf64cdee.tar.gz
.
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r--shell/evaluate.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu
index ba13b494..62e5f885 100644
--- a/shell/evaluate.mu
+++ b/shell/evaluate.mu
@@ -545,7 +545,7 @@ fn test-lookup-symbol-in-globals {
   var result-type/edx: (addr int) <- get result, type
   check-ints-equal *result-type, 4/primitive-function, "F - test-lookup-symbol-in-globals/0"
   var result-value/eax: (addr int) <- get result, index-data
-  check-ints-equal *result-value, 1/add, "F - test-lookup-symbol-in-globals/1"
+  check-ints-equal *result-value, 2/add, "F - test-lookup-symbol-in-globals/1"
 }
 
 fn car _in: (addr cell), out: (addr handle cell), trace: (addr trace) {
@@ -827,7 +827,7 @@ fn test-evaluate-primitive-function {
   var result-type/edx: (addr int) <- get result, type
   check-ints-equal *result-type, 4/primitive-function, "F - test-evaluate-primitive-function/0"
   var result-value/eax: (addr int) <- get result, index-data
-  check-ints-equal *result-value, 1/add, "F - test-evaluate-primitive-function/1"
+  check-ints-equal *result-value, 2/add, "F - test-evaluate-primitive-function/1"
 }
 
 fn test-evaluate-primitive-function-call {