37 lines
468 B
Rust
37 lines
468 B
Rust
#[derive(Clone)]
|
|
pub struct MoreThanText;
|
|
|
|
impl MoreThanText {
|
|
pub async fn new() -> Self {
|
|
Self {}
|
|
}
|
|
}
|
|
|
|
struct Table;
|
|
|
|
impl Table {
|
|
async fn new() -> Self {
|
|
Self {}
|
|
}
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod database {
|
|
use super::*;
|
|
|
|
#[async_std::test]
|
|
async fn create() {
|
|
MoreThanText::new().await;
|
|
}
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod table {
|
|
use super::*;
|
|
|
|
#[async_std::test]
|
|
async fn create() {
|
|
Table::new().await;
|
|
}
|
|
}
|