enso/test/Tests
Cassandra-Clark d7258abbf5
Add Text.substring to allow for an easy short hand of Text.take (start.up_to end) (#7913)
* Add Text.substring function and get_position helper function

For #7876 adds a Text.substring function which supports negative indexes and returns a part of a string from 0-based index 'start' and continuing for 'length'

* added substring and simplified get function

For #7876 adds a Text.substring function which supports negative indexes and returns a part of a string from 0-based index 'start' and continuing for 'length'.

Also simplified get function as it looped unnecessarily.

* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Text/Extensions.enso

punctuation corrections

Co-authored-by: GregoryTravis <greg.m.travis@gmail.com>

* Update Text_Spec.enso

Added test for start index larger than string

* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Text/Extensions.enso

updated Arguments: section to use consistent style

Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>

* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Text/Extensions.enso

updated Index_Out_Of_Bounds error to reference cached length

Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>

* Removed Slice label and added changelog entry

* Re-added slice tag to substring

Per conversation with James, added slice back to substring

* Update CHANGELOG.md add link

---------

Co-authored-by: GregoryTravis <greg.m.travis@gmail.com>
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
2023-09-29 10:57:57 -06:00
..
data New Data.post for sending a payload to a Web API (#7700) 2023-09-19 11:26:29 +00:00
polyglot-sources/enso-test-java-helpers/src/main/java/org/enso Avoid StackOverflow when comparing unknown foreign objects (#7780) 2023-09-19 15:39:04 +00:00
src Add Text.substring to allow for an easy short hand of Text.take (start.up_to end) (#7913) 2023-09-29 10:57:57 -06:00
package.yaml Import syntax including namespace (#1806) 2021-06-24 12:42:24 +02:00
README.md Simple HTTPBin to replace Go equivalent (#3887) 2022-11-18 11:27:27 +00:00

This is a set of tests for the Base library for Enso.

The run test suite for the HTTP component requires an active httbin server on the localhost. If it is present, the port it listens to should be provided by setting the ENSO_HTTP_TEST_HTTPBIN_URL environment variable to a value like http://localhost:8080. The URL may contain a trailing slash.

tools/simple-httpbin provides a simple implementation of httpbin server. See its README for instructions on how to run it.