You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/container.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -137,10 +137,10 @@ impl ContainerBuilder {
137
137
}
138
138
139
139
/// A running test container for the [EventSourcingDB](https://www.eventsourcingdb.io/).
140
-
///
140
+
///
141
141
/// Aside from managing the container, this struct also provides methods to get the data needed to connect to
142
142
/// the database or even a fully configured client.
143
-
///
143
+
///
144
144
/// You'll most likely want to use the [`Container::start_default`] method to create a new container instance for your tests.
145
145
/// For more details, see the [`crate::container`] module documentation.
146
146
/// ```
@@ -167,7 +167,7 @@ impl Container {
167
167
}
168
168
169
169
/// Shortcut method to start the container with default settings.
170
-
///
170
+
///
171
171
/// This is the same as calling [`Container::builder`] and then [`ContainerBuilder::start`].
172
172
/// In most cases this will create a contaienr with the latest image tag and a working configuration.
173
173
///
@@ -178,7 +178,7 @@ impl Container {
178
178
}
179
179
180
180
/// Get the host of the container.
181
-
///
181
+
///
182
182
/// This is the host that you can use to connect to the database. In most cases this will be `localhost`.
183
183
///
184
184
/// # Errors
@@ -188,7 +188,7 @@ impl Container {
188
188
}
189
189
190
190
/// Get the mapped port for the database.
191
-
///
191
+
///
192
192
/// This is the port that you can use to connect to the database. This will be a random port that is mapped to the internal port configured via [`ContainerBuilder::with_port`].
0 commit comments