文件操作 - yamlSyntax.test.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/yaml-ast-parser/dist/test/yamlSyntax.test.js
编辑文件内容
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var util = require("./testUtil"); suite('YAML Syntax', function () { suite('Warnings for tab symbols', function () { test('test 001', function () { testErrors("schemas:\n" + "\tsch1:\n", [ { line: 1, column: 0, message: "Using tabs can lead to unpredictable results", isWarning: true } ]); }); test('test 002', function () { testErrors("level0:\n" + " level1:\n" + " level2:\n" + " \t level3:\n", [ { line: 3, column: 2, message: "Using tabs can lead to unpredictable results", isWarning: true } ]); }); }); }); function testErrors(input, expectedErrors) { util.testErrors(input, expectedErrors); } //# sourceMappingURL=yamlSyntax.test.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件