Skip to content

Commit 8d99c6b

Browse files
authored
Update document. (#40)
1 parent 3f70838 commit 8d99c6b

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/publish.yml

-6
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v2
3333

34-
- name: Git config
35-
shell: bash
36-
run: |
37-
git config --global user.email "[email protected]"
38-
git config --global user.name "jmjoy"
39-
4034
- name: Install libclang
4135
run: sudo apt-get install -y llvm-10-dev libclang-10-dev
4236

phper-test/src/cli.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use crate::{context::Context, utils};
2727
///
2828
/// - `scripts` is the path of your php test scripts.
2929
///
30-
/// See [example hello integration test](https://github.com/jmjoy/phper/blob/master/examples/hello/tests/integration.rs).
30+
/// See [example hello integration test](https://github.com/phper-framework/phper/blob/master/examples/hello/tests/integration.rs).
3131
pub fn test_php_scripts(exe_path: impl AsRef<Path>, scripts: &[&dyn AsRef<Path>]) {
3232
let condition = |output: Output| output.status.success();
3333
let scripts = scripts
@@ -46,7 +46,7 @@ pub fn test_php_scripts(exe_path: impl AsRef<Path>, scripts: &[&dyn AsRef<Path>]
4646
///
4747
/// - `scripts` is the path of your php test scripts.
4848
///
49-
/// See [example hello integration test](https://github.com/jmjoy/phper/blob/master/examples/hello/tests/integration.rs).
49+
/// See [example hello integration test](https://github.com/phper-framework/phper/blob/master/examples/hello/tests/integration.rs).
5050
pub fn test_php_scripts_with_lib(lib_path: impl AsRef<Path>, scripts: &[&dyn AsRef<Path>]) {
5151
let condition = |output: Output| output.status.success();
5252
let scripts = scripts
@@ -69,7 +69,7 @@ pub type ScriptCondition<'a> = (&'a dyn AsRef<Path>, &'a dyn Fn(Output) -> bool)
6969
/// - `scripts` is the slice of the tuple, format is `(path of your php test
7070
/// script, checker function or closure)`.
7171
///
72-
/// See [example logging integration test](https://github.com/jmjoy/phper/blob/master/examples/logging/tests/integration.rs).
72+
/// See [example logging integration test](https://github.com/phper-framework/phper/blob/master/examples/logging/tests/integration.rs).
7373
pub fn test_php_scripts_with_condition(
7474
exe_path: impl AsRef<Path>, scripts: &[ScriptCondition<'_>],
7575
) {

0 commit comments

Comments
 (0)