Skip to content

Commit

Permalink
Fixes #364. Change expected result to null for default values of clie…
Browse files Browse the repository at this point in the history
…ntMaxWindowBits and serverMaxWindowBits
  • Loading branch information
Sergey G. Grekhov committed Jun 10, 2019
1 parent 90fc89a commit 4357277
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions LibTest/io/CompressionOptions/DEFAULT_A01_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
/**
* @assertion CompressionOptions.compressionDefault = const CompressionOptions()
* Default WebSocket Compression options. Compression will be enabled with the
* following options: clientNoContextTakeover: false serverNoContextTakeover:
* false clientMaxWindowBits: 15 serverMaxWindowBits: 15
* following options: clientNoContextTakeover: false, serverNoContextTakeover:
* false, clientMaxWindowBits: null (default maximal window size of 15 bits),
* serverMaxWindowBits: null (default maximal window size of 15 bits)
* @description Checks that this constant returns CompressionOptions with the
* default values
* @issue 29436
Expand All @@ -21,6 +22,6 @@ main() {

Expect.isFalse(CompressionOptions.compressionDefault.clientNoContextTakeover);
Expect.isFalse(CompressionOptions.compressionDefault.serverNoContextTakeover);
Expect.equals(15, CompressionOptions.compressionDefault.clientMaxWindowBits);
Expect.equals(15, CompressionOptions.compressionDefault.serverMaxWindowBits);
Expect.isNull(CompressionOptions.compressionDefault.clientMaxWindowBits);
Expect.isNull(CompressionOptions.compressionDefault.serverMaxWindowBits);
}

0 comments on commit 4357277

Please sign in to comment.