mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-30 06:24:21 +01:00
Merge pull request #88 from haaawk/tests
Mark test code cfg(test) instead of allow(dead_code)
This commit is contained in:
@@ -113,7 +113,7 @@ impl BTreeTable {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)] // used in tests
|
||||
#[cfg(test)]
|
||||
pub fn to_sql(&self) -> String {
|
||||
let mut sql = format!("CREATE TABLE {} (\n", self.name);
|
||||
for (i, column) in self.columns.iter().enumerate() {
|
||||
|
||||
Reference in New Issue
Block a user