From 05009ed48417c8d03aa641e15fd74585fbe0fd15 Mon Sep 17 00:00:00 2001 From: Yann Le Goff Date: Fri, 27 Sep 2024 10:20:57 +0200 Subject: [PATCH] Remove Ston from testing because it is deprecated - small fix on layout to remove the unacessary lines of code in stash --- src/Bloc-Serialization-Stash/BlElement.extension.st | 4 +--- src/Bloc-Serialization-Tests/BlocSerializationTests.class.st | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Bloc-Serialization-Stash/BlElement.extension.st b/src/Bloc-Serialization-Stash/BlElement.extension.st index 8a1b454..101c819 100644 --- a/src/Bloc-Serialization-Stash/BlElement.extension.st +++ b/src/Bloc-Serialization-Stash/BlElement.extension.st @@ -36,10 +36,8 @@ BlElement >> allSetterAndGettersForMyStashIdentifier [ BlElement >> allSetterAndGettersForMyStashLayout [ - self layout == self defaultLayout ifFalse: [ - ^ { #layout } ]. + self layout = self defaultLayout ifFalse: [ ^ { #layout } ]. ^ { } - ] { #category : #'*Bloc-Serialization-Stash' } diff --git a/src/Bloc-Serialization-Tests/BlocSerializationTests.class.st b/src/Bloc-Serialization-Tests/BlocSerializationTests.class.st index 3a4b725..d4748b8 100644 --- a/src/Bloc-Serialization-Tests/BlocSerializationTests.class.st +++ b/src/Bloc-Serialization-Tests/BlocSerializationTests.class.st @@ -19,7 +19,7 @@ BlocSerializationTests >> serializeThenMaterialize: aBlElement withSerializer: a { #category : #'as yet unclassified' } BlocSerializationTests >> serializersToTest [ - ^ TBlSerializer users + ^ { BlStashSerializer } ] { #category : #utilities }