Skip to content

Commit 5bfa716

Browse files
committed
Clearer naming
1 parent 80f5468 commit 5bfa716

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test_case.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl<T: TestCase> TestCaseRunner<T> {
132132
///
133133
/// * `path` - Location of the Citrea binary to be used when spawning binary.
134134
///
135-
pub fn citrea_path<P: AsRef<Path>>(self, path: P) -> Self {
135+
pub fn set_citrea_path<P: AsRef<Path>>(self, path: P) -> Self {
136136
self.set_binary_path(CITREA_ENV, path)
137137
}
138138

@@ -142,7 +142,7 @@ impl<T: TestCase> TestCaseRunner<T> {
142142
///
143143
/// * `path` - Location of the Bitcoin binary to be used when spawning binary.
144144
///
145-
pub fn bitcoin_path<P: AsRef<Path>>(self, path: P) -> Self {
145+
pub fn set_bitcoin_path<P: AsRef<Path>>(self, path: P) -> Self {
146146
self.set_binary_path(BITCOIN_ENV, path)
147147
}
148148

@@ -152,7 +152,7 @@ impl<T: TestCase> TestCaseRunner<T> {
152152
///
153153
/// * `path` - Location of the Clementine binary to be used when spawning binary.
154154
///
155-
pub fn clementine_path<P: AsRef<Path>>(self, path: P) -> Self {
155+
pub fn set_clementine_path<P: AsRef<Path>>(self, path: P) -> Self {
156156
self.set_binary_path(CLEMENTINE_ENV, path)
157157
}
158158
}

0 commit comments

Comments
 (0)