[PR #1815] [MERGED] Add unit tests for Parser #41937

Closed
opened 2026-04-24 21:44:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1815
Author: @pdevine
Created: 1/5/2024
Status: Merged
Merged: 1/5/2024
Merged by: @pdevine

Base: mainHead: parser-unittest


📝 Commits (2)

  • e86f12f add a unit test for basic modelfile parsing
  • 308678c add more tests

📊 Changes

1 file changed (+63 additions, -0 deletions)

View changed files

parser/parser_test.go (+63 -0)

📄 Description

This adds a couple of basic unit tests for parsing.

Suggested in #1809


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1815 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 1/5/2024 **Status:** ✅ Merged **Merged:** 1/5/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `parser-unittest` --- ### 📝 Commits (2) - [`e86f12f`](https://github.com/ollama/ollama/commit/e86f12fc50ac41620619b74cff1a997ec463014a) add a unit test for basic modelfile parsing - [`308678c`](https://github.com/ollama/ollama/commit/308678cefb309f49fba158e328484f5ff8530683) add more tests ### 📊 Changes **1 file changed** (+63 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `parser/parser_test.go` (+63 -0) </details> ### 📄 Description This adds a couple of basic unit tests for parsing. Suggested in #1809 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 21:44:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#41937