Added a table structure.
This commit is contained in:
parent
966c4bed2b
commit
ac869f8188
@ -7,6 +7,14 @@ impl MoreThanText {
|
||||
}
|
||||
}
|
||||
|
||||
struct Table;
|
||||
|
||||
impl Table {
|
||||
async fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod database {
|
||||
use super::*;
|
||||
@ -16,3 +24,13 @@ mod database {
|
||||
MoreThanText::new().await;
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod table {
|
||||
use super::*;
|
||||
|
||||
#[async_std::test]
|
||||
async fn create() {
|
||||
Table::new().await;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user