blob: 2a300058beba29e36512ad83531d9f897c95607a [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/**
* @assertion CompressionOptions.compressionOff = const CompressionOptions(enabled: false)
* Disables WebSocket Compression.
* @description Checks that this constant disables WebSocket Compression
* @author sgrekhov@unipro.ru
*/
import "dart:io";
import "../../../Utils/expect.dart";
main() {
Expect.isNotNull(CompressionOptions.compressionOff);
Expect.isFalse(CompressionOptions.compressionOff.enabled);
}