Quicksql
Quicksql copied to clipboard
[BUG] testParseSingleBdNameAndTableNameWithError in tableNameCollectorTest is not as expected
Versions
eg: 99b77fbac300b739d6383832273544bb09aa8396
Describe the bug
Current error parameter in validateTableName
can not throw exception in case of A.A.A
, see testParseSingleBdNameAndTableNameWithError
and testParseSingleBdNameAndTableNameWithError2
.
To Reproduce
Steps to reproduce the behavior:
- Go to
TableNameCollectorTest
- Dubug on
testParseSingleBdNameAndTableNameWithError
- You will find no exception throw, I think it's not as expected.
Expected behavior
Throw exception.
Actual behavior
No exception. Because there is no exception, so it pass these two tests luckily.
Additional context
- I open an pr to fix it #279.