tests: eval: Tweak a hexadecimal constant test.
* tests/unit/eval.scm: Switch the constant used in the hexadecimal constant test to one that includes a letter digit.
This commit is contained in:
parent
3697ed5bf1
commit
b973b21cc7
|
@ -305,8 +305,8 @@
|
||||||
(eval-word '(<sh-arithmetic> "042")))
|
(eval-word '(<sh-arithmetic> "042")))
|
||||||
|
|
||||||
(test-equal "Evaluates arithmetic constant (hexadecimal)"
|
(test-equal "Evaluates arithmetic constant (hexadecimal)"
|
||||||
'("66")
|
'("74")
|
||||||
(eval-word '(<sh-arithmetic> "0x42")))
|
(eval-word '(<sh-arithmetic> "0x4a")))
|
||||||
|
|
||||||
;;; Binary (and tertiary) operators
|
;;; Binary (and tertiary) operators
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue