Title: Code Cleanup: Pester tests in Utility/Get-Random.Tests.ps1 · Issue #6370 · PowerShell/PowerShell · GitHub
Open Graph Title: Code Cleanup: Pester tests in Utility/Get-Random.Tests.ps1 · Issue #6370 · PowerShell/PowerShell
X Title: Code Cleanup: Pester tests in Utility/Get-Random.Tests.ps1 · Issue #6370 · PowerShell/PowerShell
Description: Some Pester tests in Utility/Get-Random need to be reviewed or refactored. use of Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) needs to be refactored, not a valid test use of Should -Be @secondRandomNumber should be Should -Be $secondRa...
Open Graph Description: Some Pester tests in Utility/Get-Random need to be reviewed or refactored. use of Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) needs to be refactored, not a valid test use of Should -Be @secondRan...
X Description: Some Pester tests in Utility/Get-Random need to be reviewed or refactored. use of Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) needs to be refactored, not a valid test use of Should -Be @secondRan...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code Cleanup: Pester tests in Utility/Get-Random.Tests.ps1","articleBody":"Some Pester tests in Utility/Get-Random need to be reviewed or refactored.\r\n\r\n- [ ] use of `Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)` needs to be refactored, not a valid test\r\n- [ ] use of `Should -Be @secondRandomNumber` should be `Should -Be $secondRandomNumber` and tested\r\n\r\n","author":{"url":"https://github.com/KevinMarquette","@type":"Person","name":"KevinMarquette"},"datePublished":"2018-03-13T03:27:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/6370/PowerShell/issues/6370"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c2bdb63-b486-d914-6fd9-c8f1c58f7ade |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5B6:365801:23C2B26:3339E7B:6A566C06 |
| html-safe-nonce | a0306d9d0178283058a75f7686147f45a60588a19e99b62b83a5b53153a77346 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUI2OjM2NTgwMToyM0MyQjI2OjMzMzlFN0I6NkE1NjZDMDYiLCJ2aXNpdG9yX2lkIjoiNTE0MjM0MjgxODkwODc2MTA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4691369d70228ed78990ce5057dbdc17ad193dddcc20294975372f604f59fafb |
| hovercard-subject-tag | issue:304615136 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b2f6faf967f4a240d0a6924e739e72d266d23243b30ee75496477082c4785ad/PowerShell/PowerShell/issues/6370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b2f6faf967f4a240d0a6924e739e72d266d23243b30ee75496477082c4785ad/PowerShell/PowerShell/issues/6370 |
| og:image:alt | Some Pester tests in Utility/Get-Random need to be reviewed or refactored. use of Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) needs to be refactored, not a valid test use of Should -Be @secondRan... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KevinMarquette |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1bfcd903bf3318822b10b18a6332fac40d3a21f7d94456dca766ab8fa7328068 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 37f446b78ad53e6f593aa1a4243b87c76a3428ab |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width