mirror of
https://github.com/heyman/heynote.git
synced 2025-08-14 08:48:36 +02:00
Add TOML support
This commit is contained in:
@ -37,3 +37,19 @@ print('The solution are {0} and {1}'.format(sol1,sol2))
|
||||
`)
|
||||
await expect(page.locator("css=.status .status-block.lang")).toHaveText("Python (auto)")
|
||||
})
|
||||
|
||||
test("TOML detection", async ({ page }) => {
|
||||
await page.locator("body").pressSequentially(`
|
||||
[build-system]
|
||||
requires = ["setuptools>=61", "wheel", "setuptools_scm>=6.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "locust"
|
||||
license = { text = "MIT" }
|
||||
description = "Developer friendly load testing framework"
|
||||
dynamic = ["version"]
|
||||
requires-python = ">=3.8"
|
||||
`)
|
||||
await expect(page.locator("css=.status .status-block.lang")).toHaveText("TOML (auto)")
|
||||
})
|
||||
|
Reference in New Issue
Block a user