文件操作 - stability.test.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/yaml-ast-parser/test/stability.test.ts
编辑文件内容
import util = require("./testUtil"); suite('YAML Syntax', () => { suite('Warnings for tab symbols', () => { test('test 001', function () { testErrors( "schemas:\n" + " - !i", [ { line: 1, column: 4, message: "unknown tag <!i>", isWarning: false } ] ); }); test('test 002', function () { testErrors( "schemas:\n" + " - !in", [ { line: 1, column: 4, message: "unknown tag <!in>", isWarning: false } ] ); }); test('test 003', function () { testErrors( "schemas:\n" + " - !inc", [ { line: 1, column: 4, message: "unknown tag <!inc>", isWarning: false } ] ); }); test('test 004', function () { testErrors( "schemas:\n" + " - !incl", [ { line: 1, column: 4, message: "unknown tag <!incl>", isWarning: false } ] ); }); }); }); function testErrors(input:string,expectedErrors: util.TestError[]) { util.testErrors(input, expectedErrors); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件