Force Quote

Closed #1005
This commit is contained in:
Edward Muller
2019-10-14 22:53:51 -07:00
parent fb62dbe2f2
commit 007cacdd34
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -71,6 +71,12 @@ func TestQuoting(t *testing.T) {
checkQuoting(true, "")
checkQuoting(false, "abcd")
checkQuoting(true, errors.New("invalid argument"))
// Test forcing quotes.
tf.ForceQuote = true
checkQuoting(true, "")
checkQuoting(true, "abcd")
checkQuoting(true, errors.New("invalid argument"))
}
func TestEscaping(t *testing.T) {