Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ligurio/lua-c-api-tests
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ligurio/lua-c-api-tests
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ligurio/gh-xxxx-fix-lapi-tests-2
Choose a head ref
  • 7 commits
  • 9 files changed
  • 1 contributor

Commits on Aug 7, 2025

  1. tests/lapi: fix table_remove_test

    Fix out-of-bound indices passed to `table.remove()`.
    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    d9134b9 View commit details
    Browse the repository at this point in the history
  2. tests/lapi: fix string_byte_test

    The patch fixes the following issues:
    
    - `string.char()` returns the internal numeric codes of the
      characters, not a single number.
    - `string.char()` returns `nil` when values `i` or `j` are
       outside the acceptable range (less than zero and greater than
       the length of the string). It is not documented.
    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    5daf32d View commit details
    Browse the repository at this point in the history
  3. tests/lapi: fix string_rep_test

    The patch fixes description (synopsis is at the end of the
    description) and fixes lower boundary for `n`, with `n` equal
    to zero assertion calculates negative number in right part of
    expression.
    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    fb3dd2b View commit details
    Browse the repository at this point in the history
  4. tests/lapi: fix formatting

    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    df7609c View commit details
    Browse the repository at this point in the history
  5. tests/lapi: cache locales in random_locale()

    The patch changes function `random_locale()`, so it builds a table
    with locales only once on the first execution and then returns
    a cached table.
    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    9b0e24a View commit details
    Browse the repository at this point in the history
  6. tests/lapi: add table.clear test

    The patcha adds a test for `table.clear()` function that is
    present in LuaJIT. Follows up the commit ee032e7
    ("tests/lapi: add table tests").
    ligurio committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    68047ba View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. tests/lapi: update assertions in os tests

    The patch updates assertions for values returned by `os.date()`
    and `os.time()`, LuaJIT-specific type checks moved under condition.
    ligurio committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    42fa96a View commit details
    Browse the repository at this point in the history
Loading