mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
srfi-9.test: avoid symbols of the form ':bar' for more robust checking.
* test-suite/tests/srfi-9.test ("incompatible field paths"): Rename ':bar' to 'bar' to avoid the possibility of the symbol name being printed with #{...}# notation.
This commit is contained in:
parent
a144a7a846
commit
b594998356
1 changed files with 2 additions and 2 deletions
|
@ -614,7 +614,7 @@
|
|||
'(syntax-error set-fields
|
||||
"\
|
||||
field paths (bar-i bar-j) and (bar-i foo-x) require one object \
|
||||
to belong to two different record types (:bar and foo)"
|
||||
to belong to two different record types (bar and foo)"
|
||||
(set-fields s
|
||||
((bar-i foo-x) 1)
|
||||
((bar-i bar-j) 2)
|
||||
|
@ -630,7 +630,7 @@ to belong to two different record types (:bar and foo)"
|
|||
(y foo-y set-foo-y)
|
||||
(z foo-z set-foo-z))
|
||||
|
||||
(define-immutable-record-type :bar
|
||||
(define-immutable-record-type bar
|
||||
(make-bar i j)
|
||||
bar?
|
||||
(i bar-i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue