Repository: goplus/gop
Pull request #1778 (2024-02-25 15:14:59)

gop/strx => qiniu/x/stringutil

codecov[bot]: ## [Codecov](https://app.codecov.io/gh/goplus/gop/pull/1778?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goplus) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 92.88%. Comparing base [(`ffe6653`)](https://app.codecov.io/gh/goplus/gop/commit/ffe665306b814e8f6a7b7c67d535c929a0660126?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goplus) to head [(`345e2aa`)](https://app.codecov.io/gh/goplus/gop/pull/1778?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goplus).
> Report is 17 commits behind head on main.


<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##             main    #1778      +/-   ##
==========================================
+ Coverage   92.22%   92.88%   +0.66%     
==========================================
  Files          40       43       +3     
  Lines       11021     9080    -1941     
==========================================
- Hits        10164     8434    -1730     
+ Misses        694      483     -211     
  Partials      163      163              
```



</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/goplus/gop/pull/1778?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goplus).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goplus).


Patch:
diff --git a/go.mod b/go.mod
index 740050f0..d7bc9c3f 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@ require (
 	github.com/goplus/c2go v0.7.24-0.20240221044754-e542e30f9dbc
 	github.com/goplus/gox v1.14.13-0.20240221143457-e20cebf7f229
 	github.com/goplus/mod v0.13.8-0.20240218230953-c1aeebf6e4f7
-	github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284
+	github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813
 	golang.org/x/tools v0.18.0
 )
 
diff --git a/go.sum b/go.sum
index d8c86ee0..c71cfb8a 100644
--- a/go.sum
+++ b/go.sum
@@ -19,8 +19,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/qiniu/x v1.13.8/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E=
-github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284 h1:0dcHGdsq5U0vLqJ7iX8xWkRIGAna9DidyptYJZWpTxo=
-github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E=
+github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813 h1:qKIaNrQ6GJkhwADcj1NgPiUe8CkXsJV9ZnuJ8IShVDI=
+github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E=
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=


Test patch:
diff --git a/testdata/gsh-exec/exec.gsh b/testdata/gsh-exec/exec.gsh
index dbd3a0ab..7937fa30 100644
--- a/testdata/gsh-exec/exec.gsh
+++ b/testdata/gsh-exec/exec.gsh
@@ -3,3 +3,5 @@ exec "gop run ./foo"
 exec "FOO=100 gop run ./foo"
 exec {"FOO": "101"}, "gop", "run", "./foo"
 exec "gop", "run", "./foo"
+exec "ls $HOME"
+ls "${HOME}"