lessons: the review of 10-11 to 10-13; failed reads, locks, another app's values, guarantee tests, network-free tests, tags and commit bodies move to the code standards
The nightly fold of the review of 10-11 05:20 to 10-14 04:00 (602 commits, tags v0.1.1173 to v0.1.1228, 54 of 56 published). Moved to docs/code-standards.md, each seen a third day or more: - a failed read means unknown (7d9382db2,e297a8ab2); - nothing that can block runs under a lock its reader needs (a2afc1828,a75de4c21); - another app's values come from that app (accc8c090->e0ecf0161); - a test named for a guarantee fails without it (9dd5917a4,cc93b566e); - a test never reaches the network (f230fa23b,bde11c778); - a tag waits for a green run and is not a release (v0.1.1192/1193 on one commit, v0.1.1213 and v0.1.1218 unpublished, #1846); - a large commit's body holds what was run (ea3d480ed,1cd814004, 3ccbe6bc1's "push notes"). Criterion 3 now names the guard tests that chosen-package runs broke on 10-13 (494609866,24146c031,c6de0d2a5). LESSONS.md keeps pointers. LESSONS.md: reading the report and two-sessions-one-checkout seen a second day (def3a41e3reverted in 2c30e5cee;3e88fc09d). New 1x lessons: WebKitGTK vs Playwright WebKit (f5dd4d604), per-OS paths in tests (f38f65030), neutral text in vendor-bound prompts (3c4f8f9ae), one owner per flag bit (8179ce768), a flag is never data to write (76db4c6c2). contributors.md: ggbdpq's Watched row gains #1919 and #2017. Run: every shown sha read with git log; anchors #moved-to-the-code-standards and the code-standards.md links resolve. Docs only, no code.
This commit is contained in:
@@ -51,6 +51,8 @@ const dshDesktopPatch = "# Your patch layer for this dsh profile, applied after
|
||||
// installed the folder is no sign of an uninstall: its version is shown
|
||||
// instead, on macOS and Windows alike.
|
||||
func TestDshDesktopAppIsNoMissingCLI(t *testing.T) {
|
||||
// the Mac app: on Windows ~\.dsh is never gone (#2300), whatever is here
|
||||
judgeFor(t, "darwin")
|
||||
home := t.TempDir()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("USERPROFILE", home)
|
||||
@@ -385,6 +387,8 @@ func TestDshDesktopRegisteredAnyHive(t *testing.T) {
|
||||
// and wherever Spotlight has its bundle id; a bundle of another id there
|
||||
// is still not dsh's, nor is an app inside another app's bundle.
|
||||
func TestDshDesktopAppInASubfolder(t *testing.T) {
|
||||
// the Mac app: on Windows ~\.dsh is never gone (#2300), whatever is here
|
||||
judgeFor(t, "darwin")
|
||||
home := t.TempDir()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("USERPROFILE", home)
|
||||
|
||||
Reference in New Issue
Block a user