提交 2aa6607a 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

test xml, json output

上级 b107313f
......@@ -46,7 +46,7 @@ func Print(rows [][]string, format string, table string, colTypes []bool, fields
sql := ""
testData := model.TestData{}
testData.Title = "测试数据"
testData.Title = "Test Data"
for i, cols := range rows {
line := ""
......
......@@ -37,7 +37,6 @@ print(">> $val\n");
$output = [];
exec("$cmd -y ../test/definition/basic.yaml -c 3 -field char,numb -o ../test/output/output.xml -f xml", $output);
$xml = simplexml_load_file('../test/output/output.xml');
$content = file_get_contents('../test/output/output.xml');
$val = $xml->table->row->col[0];
print(">> $val\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册