blob: 2c51a14e3b07d3bf621784bf87b91b4d3051db65 [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.
// @dart = 2.9
/// @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);
}