diff --git a/AGENTS.md b/AGENTS.md index 7f8a075..cc293b5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,7 +10,7 @@ LLM-based agents can accelerate development only if they respect our house rules | Requirement | Rationale | |--------------|-----------| -| **British English** spelling (`organisation`, `licence`, *not* `organization`, `license`) except technical US spellings like `synchronized` | Keeps wording consistent with Chronicle's London HQ and existing docs. See the University of Oxford style guide for reference. | +| **British English** spelling (`organisation`, `licence`, *not* `organisation`, `license`) except technical US spellings like `synchronized` | Keeps wording consistent with Chronicle's London HQ and existing docs. See the University of Oxford style guide for reference. | | **ASCII-7 only** (code-points 0-127). Avoid smart quotes, non-breaking spaces and accented characters. | ASCII-7 survives every toolchain Chronicle uses, incl. low-latency binary wire formats that expect the 8th bit to be 0. | | If a symbol is not available in ASCII-7, use a textual form such as `micro-second`, `>=`, `:alpha:`, `:yes:`. This is the preferred approach and Unicode must not be inserted. | Extended or '8-bit ASCII' variants are *not* portable and are therefore disallowed. | diff --git a/src/test/java/net/openhft/posix/internal/jnr/JNRPosixAPITest.java b/src/test/java/net/openhft/posix/internal/jnr/JNRPosixAPITest.java index 80a5fb2..00cbab2 100644 --- a/src/test/java/net/openhft/posix/internal/jnr/JNRPosixAPITest.java +++ b/src/test/java/net/openhft/posix/internal/jnr/JNRPosixAPITest.java @@ -32,7 +32,7 @@ public void open() throws IOException { assertEquals(0, jnr.lseek(fd, 0, WhenceFlag.SEEK_SET)); assertEquals(-1, jnr.lseek(fd, 16, WhenceFlag.SEEK_DATA)); assertEquals(0, jnr.ftruncate(fd, 4096)); - // 'lseek' on Windows and macOS doesn't support following behavior + // 'lseek' on Windows and macOS doesn't support following behaviour if (isUnix() && !isMacOSX()) { assertEquals(16, jnr.lseek(fd, 16, WhenceFlag.SEEK_DATA)); assertEquals(4095, jnr.lseek(fd, 4095, WhenceFlag.SEEK_DATA));