forked from deblan/database-anonymizer
add column escaper function
This commit is contained in:
parent
6754905f24
commit
5eb3701f9f
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ func TestEscapeColumn(t *testing.T) {
|
|||
t.Fatalf("TestEscapeColumn: mysql check failed")
|
||||
}
|
||||
|
||||
if EscapeTable("postgres", "foo") != "\"foo\"" {
|
||||
if EscapeColumn("postgres", "foo") != "\"foo\"" {
|
||||
t.Fatalf("TestEscapeColumn: postgres check failed")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue