mirror of
https://github.com/nushell/nushell.git
synced 2025-08-07 10:29:30 +02:00
- related #16258 # Description In #16258 we had some trouble getting tests to work properly. After some investigation with @WindSoilder we figured out that `Table::new` inside `into_sqlite.rs` did not respect the `$env.PWD`. The underlying `open_sqlite_db` and in that `Connection::open` respects the current working directory. That one is updated via `cd` but not necessarily in tests (and we should not try that). In this PR I join the `$env.PWD` with the path passed to `into sqlite`. This PR also adds a test for the auto conversion from #16258. # User-Facing Changes Should be none, some edge cases might be fixed now.