René's URL Explorer Experiment


Title: Test and REPL to work with *nix. by ztone · Pull Request #734 · scriptcs/scriptcs · GitHub

Open Graph Title: Test and REPL to work with *nix. by ztone · Pull Request #734 · scriptcs/scriptcs

X Title: Test and REPL to work with *nix. by ztone · Pull Request #734 · scriptcs/scriptcs

Description: I was doing a quick test on the new REPL commands and found some things This PR has a couple of fixes ... this was done kind of quick so ... sorry. Had some "Warning as errors" when compiling. Removed unused "var result =" on tests. Removed if (!path.EndsWith(@"")) ... as Path.Combine takes care of this, so we should not need this. And if we do we should use Path.DirectorySeparatorChar to support *nix Fix test in Script.Core.Test so they pass on *nix env as well. Used %HOME path instead of "C:". Other test projects might need to be tested as well. I might add them later or a new PR. Happy Friday.

Open Graph Description: I was doing a quick test on the new REPL commands and found some things This PR has a couple of fixes ... this was done kind of quick so ... sorry. Had some "Warning as errors" when com...

X Description: I was doing a quick test on the new REPL commands and found some things This PR has a couple of fixes ... this was done kind of quick so ... sorry. Had some "Warning as errors" ...

Opengraph URL: https://github.com/scriptcs/scriptcs/pull/734

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:63fde4c9-51f6-0d2b-c40e-09851d25096c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0A6:59847:449F6C:5C809C:6B002D72
html-safe-noncef2bfa191adaa3210cd3db59e67317daad69098bf918faa4899b7d541ec568e4c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEE2OjU5ODQ3OjQ0OUY2Qzo1QzgwOUM6NkIwMDJENzIiLCJ2aXNpdG9yX2lkIjoiMTkzNzcyNzU0NDUyNjY0NjY0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9e255e98032afdadf51069ead33eb9cd037ea13dee0403157af481f1069a3106
hovercard-subject-tagpull_request:16553513
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scriptcs/scriptcs/pull/734/files
twitter:imagehttps://avatars.githubusercontent.com/u/3028306?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3028306?s=400&v=4
og:image:altI was doing a quick test on the new REPL commands and found some things This PR has a couple of fixes ... this was done kind of quick so ... sorry. Had some "Warning as errors" when com...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git
octolytics-dimension-user_id3758046
octolytics-dimension-user_loginscriptcs
octolytics-dimension-repository_id8473240
octolytics-dimension-repository_nwoscriptcs/scriptcs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8473240
octolytics-dimension-repository_network_root_nwoscriptcs/scriptcs
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scriptcs/scriptcs/pull/734/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fpull%2F734%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fpull%2F734%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scriptcs%2Fscriptcs
Reloadhttps://github.com/scriptcs/scriptcs/pull/734/files
Reloadhttps://github.com/scriptcs/scriptcs/pull/734/files
Reloadhttps://github.com/scriptcs/scriptcs/pull/734/files
scriptcshttps://github.com/scriptcs
scriptcshttps://github.com/scriptcs/scriptcs
Codehttps://github.com/scriptcs/scriptcs
Issues167 (167)https://github.com/scriptcs/scriptcs/issues
Pull requests2 (2)https://github.com/scriptcs/scriptcs/pulls
Actionshttps://github.com/scriptcs/scriptcs/actions
Projectshttps://github.com/scriptcs/scriptcs/projects
Wikihttps://github.com/scriptcs/scriptcs/wiki
Security and qualityhttps://github.com/scriptcs/scriptcs/security
Insightshttps://github.com/scriptcs/scriptcs/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fscriptcs%2Fscriptcs%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fscriptcs%2Fscriptcs%2Fissues%2Fnew%2Fchoose
filipwhttps://github.com/filipw
scriptcs:devhttps://github.com/scriptcs/scriptcs/tree/dev
ztone:core-nix-testshttps://github.com/ztone/scriptcs/tree/core-nix-tests
Conversation 19 https://github.com/scriptcs/scriptcs/pull/734
Commits 4 https://github.com/scriptcs/scriptcs/pull/734/commits
Checks 0 https://github.com/scriptcs/scriptcs/pull/734/checks
Files changed https://github.com/scriptcs/scriptcs/pull/734/files
Please reload this pagehttps://github.com/scriptcs/scriptcs/pull/734/files
Test and REPL to work with *nix. https://github.com/scriptcs/scriptcs/pull/734/files#top
Show all changes 4 commits https://github.com/scriptcs/scriptcs/pull/734/files
f86685e Removed OS specific path checker ztone May 30, 2014 https://github.com/scriptcs/scriptcs/pull/734/commits/f86685ee919dd404bc5052e9c4a1686e56edf8c7
a9b1ede Fix new test to work on *nix ztone May 30, 2014 https://github.com/scriptcs/scriptcs/pull/734/commits/a9b1ede1eda2bea50134321f7a20214ebcbd15fa
4388f88 Fixed Core tests to work on *nix ztone May 30, 2014 https://github.com/scriptcs/scriptcs/pull/734/commits/4388f886b31eb92b524935d2eddde55424338ebb
322c73c Using Path.Combine in tests ztone May 31, 2014 https://github.com/scriptcs/scriptcs/pull/734/commits/322c73c810110ecdf3bd649f2a139584da434ab1
Clear filters https://github.com/scriptcs/scriptcs/pull/734/files
Please reload this pagehttps://github.com/scriptcs/scriptcs/pull/734/files
Please reload this pagehttps://github.com/scriptcs/scriptcs/pull/734/files
CdCommand.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-426c63fe5a0f003bf1dc599e14ae526110644eabf963d815a300f172adb6c33e
FileSystemTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
PackageAssemblyResolverTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
CdCommandTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
CwdCommandTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
ReplTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02
ScriptExecutorTests.cs https://github.com/scriptcs/scriptcs/pull/734/files#diff-040a2836e65f445f8a49afc00a254eba7d036b08f569ae599e3999d4eb94c14b
src/ScriptCs.Core/ReplCommands/CdCommand.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-426c63fe5a0f003bf1dc599e14ae526110644eabf963d815a300f172adb6c33e
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/src/ScriptCs.Core/ReplCommands/CdCommand.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-426c63fe5a0f003bf1dc599e14ae526110644eabf963d815a300f172adb6c33e
https://github.com/scriptcs/scriptcs/pull/734/files#diff-426c63fe5a0f003bf1dc599e14ae526110644eabf963d815a300f172adb6c33e
test/ScriptCs.Core.Tests/FileSystemTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/FileSystemTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
https://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
https://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
https://github.com/scriptcs/scriptcs/pull/734/files#diff-ce3f456bd8799790de6724e8142dabe34a524af2928b339f0f349c77087f729c
test/ScriptCs.Core.Tests/PackageAssemblyResolverTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/PackageAssemblyResolverTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
https://github.com/scriptcs/scriptcs/pull/734/files#diff-0060f5253bdd502eb8c75def526a2c4226a895c37d903b34dc550bb17f675648
test/ScriptCs.Core.Tests/ReplCommands/CdCommandTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/ReplCommands/CdCommandTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
https://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
https://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
https://github.com/scriptcs/scriptcs/pull/734/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72
test/ScriptCs.Core.Tests/ReplCommands/CwdCommandTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/ReplCommands/CwdCommandTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
https://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
https://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
https://github.com/scriptcs/scriptcs/pull/734/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67
test/ScriptCs.Core.Tests/ReplTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/ReplTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02
https://github.com/scriptcs/scriptcs/pull/734/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02
https://github.com/scriptcs/scriptcs/pull/734/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02
test/ScriptCs.Core.Tests/ScriptExecutorTests.cshttps://github.com/scriptcs/scriptcs/pull/734/files#diff-040a2836e65f445f8a49afc00a254eba7d036b08f569ae599e3999d4eb94c14b
View file https://github.com/ztone/scriptcs/blob/322c73c810110ecdf3bd649f2a139584da434ab1/test/ScriptCs.Core.Tests/ScriptExecutorTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scriptcs/scriptcs/pull/734/{{ revealButtonHref }}
https://github.com/scriptcs/scriptcs/pull/734/files#diff-040a2836e65f445f8a49afc00a254eba7d036b08f569ae599e3999d4eb94c14b
https://github.com/scriptcs/scriptcs/pull/734/files#diff-040a2836e65f445f8a49afc00a254eba7d036b08f569ae599e3999d4eb94c14b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.