mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: update tests
This commit is contained in:
parent
00fb8f29d3
commit
25f0186098
5 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
use leptos::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn TestComponent(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use core::num::NonZeroUsize;
|
||||
use leptos::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
fn Component(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use leptos::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
fn missing_scope() {}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
use leptos::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[server(endpoint = "my_path", FooBar)]
|
||||
pub async fn positional_argument_follows_keyword_argument() -> Result<(), ServerFnError> {
|
||||
pub async fn positional_argument_follows_keyword_argument(
|
||||
) -> Result<(), ServerFnError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ mod shared;
|
|||
////! crate that is enabled).
|
||||
////!
|
||||
////! ```rust,ignore
|
||||
////! use leptos::*;
|
||||
////! use leptos::prelude::*;
|
||||
////! #[server(ReadFromDB)]
|
||||
////! async fn read_posts(how_many: usize, query: String) -> Result<Vec<Posts>, ServerFnError> {
|
||||
////! // do some server-only work here to access the database
|
||||
|
|
Loading…
Reference in a new issue