diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-25 22:28:34 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-25 22:33:56 +0200 |
commit | 7510f4ad01acbff1dcb01084372237bd900e3d37 (patch) | |
tree | 352513d278fa929c1a437667424940ebd73bb50c /Tests.st | |
parent | 8bdb0be6dc316b5bd24ae32b4ec2cb3d0bc3c1c8 (diff) |
streams: Move the GSM48 code over to Streams
Diffstat (limited to 'Tests.st')
-rw-r--r-- | Tests.st | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -270,7 +270,7 @@ TestCase subclass: GSM48Test [ | inp dec | inp := #(5 17 ) asByteArray. - dec := GSM48MSG decode: inp. + dec := GSM48MSG decode: inp readStream. self assert: dec type = GSM48AuthRej messageType. self assert: GSM48AuthRej new toMessage asByteArray = inp. ] @@ -292,7 +292,7 @@ TestCase subclass: GSM48Test [ testCCStatus [ | dec inp | inp := #(16r03 16r3D 16r03 16rE0 16rE1 16r42 16rC1) asByteArray. - dec := GSM48MSG decode: inp. + dec := GSM48MSG decode: inp readStream. self assert: dec toMessage asByteArray = inp. ] |