File tree Expand file tree Collapse file tree 3 files changed +19
-8
lines changed
Expand file tree Collapse file tree 3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ The following features are available:
5151
5252### Repositories
5353
54- | Name | Description | Default? |
55- | ----------------| ------------------------------------------| ----------|
56- | ` steampipe ` | Enables steampipe PostgreSQL extensions | No |
57- | ` tensor-chord ` | Enables tensor-chord PostgreSQL binaries | No |
54+ | Name | Description | Default? |
55+ | ----------------| ------------------------------------------- | ----------|
56+ | ` steampipe ` | Enables Steampipe PostgreSQL extensions | No |
57+ | ` tensor-chord ` | Enables TensorChord PostgreSQL extensions | No |
5858
5959## Supported platforms
6060
Original file line number Diff line number Diff line change 5050//!
5151//! ### Repositories
5252//!
53- //! | Name | Description | Default? |
54- //! |---------------| -----------------------------------------|----------|
55- //! | `steampipe` | Enables steampipe PostgreSQL extensions | No |
56- //! | `tensor-chord` | Enables tensor-chord PostgreSQL binaries | No |
53+ //! | Name | Description | Default? |
54+ //! |----------------|-- -----------------------------------------|----------|
55+ //! | `steampipe` | Enables Steampipe PostgreSQL extensions | No |
56+ //! | `tensor-chord` | Enables TensorChord PostgreSQL extensions | No |
5757//!
5858//! ## Supported platforms
5959//!
Original file line number Diff line number Diff line change @@ -208,6 +208,17 @@ impl postgresql_commands::Settings for TestSettings {
208208#[ cfg( test) ]
209209mod tests {
210210 use super :: * ;
211+ use postgresql_commands:: Settings ;
212+
213+ #[ test]
214+ fn test_settings ( ) {
215+ let settings = TestSettings ;
216+ assert_eq ! ( settings. get_binary_dir( ) , PathBuf :: from( "." ) ) ;
217+ assert_eq ! ( settings. get_host( ) , "localhost" ) ;
218+ assert_eq ! ( settings. get_port( ) , 5432 ) ;
219+ assert_eq ! ( settings. get_username( ) , "postgres" ) ;
220+ assert_eq ! ( settings. get_password( ) , "password" ) ;
221+ }
211222
212223 #[ test]
213224 fn test_available_extension ( ) {
You can’t perform that action at this time.
0 commit comments