diff --git a/test/test-encodings.script b/test/test-encodings.script
index 2012138be7b729feb4f87429205ebe9f07c16300..0d9aa54d31b023536d042a1ba39ed7d221e6fa13 100644
--- a/test/test-encodings.script
+++ b/test/test-encodings.script
@@ -40,8 +40,8 @@
 (leave-test "No Unicode support to test on this lisp implementation" 0)
 
 #+abcl
-(let ((version (lisp-implementation-version))
-      (version-nums (subseq version 0 (position-if-not (lambda (x) (find x "0123456789.")) version))))
+(let* ((version (lisp-implementation-version))
+       (version-nums (subseq version 0 (position-if-not (lambda (x) (find x "0123456789.")) version))))
   (when (version< version-nums "1.1.2")
     (leave-test "Your old ABCL is known to fail this test script, so skipping it." 0)))