blob: 57cf6e2d7bfb3c5b5b199204f092dacf139a5f83 [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 dynamic TEXT
/// final
/// Content type for plain text using UTF-8 encoding.
/// @description Checks that this constant returns content type for plain text
/// using UTF-8 encoding.
/// @author sgrekhov@unipro.ru
import "dart:io";
import "../../../Utils/expect.dart";
main() {
Expect.isNotNull(ContentType.text);
Expect.equals("text/plain; charset=utf-8", ContentType.text.toString());
}