aboutsummaryrefslogtreecommitdiffstats
path: root/Tests.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-03-25 22:28:34 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-03-25 22:33:56 +0200
commit7510f4ad01acbff1dcb01084372237bd900e3d37 (patch)
tree352513d278fa929c1a437667424940ebd73bb50c /Tests.st
parent8bdb0be6dc316b5bd24ae32b4ec2cb3d0bc3c1c8 (diff)
streams: Move the GSM48 code over to Streams
Diffstat (limited to 'Tests.st')
-rw-r--r--Tests.st4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests.st b/Tests.st
index d6acd42..a779a17 100644
--- a/Tests.st
+++ b/Tests.st
@@ -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.
]