mirror of
https://github.com/nushell/nushell
synced 2025-01-14 14:14:13 +00:00
parent
0110345755
commit
211d9c685c
1 changed files with 5 additions and 2 deletions
|
@ -183,8 +183,11 @@ pub mod test {
|
||||||
use nu_protocol::{ShellError, Span};
|
use nu_protocol::{ShellError, Span};
|
||||||
|
|
||||||
pub fn test_polars_plugin_command(command: &impl PluginCommand) -> Result<(), ShellError> {
|
pub fn test_polars_plugin_command(command: &impl PluginCommand) -> Result<(), ShellError> {
|
||||||
let mut plugin = PolarsPlugin::default();
|
let plugin = PolarsPlugin {
|
||||||
plugin.disable_cache_drop = true;
|
disable_cache_drop: true,
|
||||||
|
..PolarsPlugin::default()
|
||||||
|
};
|
||||||
|
|
||||||
let examples = command.examples();
|
let examples = command.examples();
|
||||||
|
|
||||||
// we need to cache values in the examples
|
// we need to cache values in the examples
|
||||||
|
|
Loading…
Reference in a new issue